fnando/i18n-js — pull request #94 by tvsathish (2012-05-17 11:51:07+00:00)
Title: Add provision for scope inheritance and recursive fallback to parent scope for the keys in localization files

E.g.

When the localization JSON applied has the following structure
{
Key1:Value1
Scope1:
{
Key2:value2
Scope2: { Key3: value3 }
}
}
then a lookup of
a) Scope1.Scope2.Key1 should return Value1
b) Scope1.Scope2.Key2 should return Value2
c) Scope1.Scope2.Key3 should return Value3
d) Scope1.Scope2.Key4 should return null.