attributes.md
July 13, 2014 ยท View on GitHub
.attributes
Attributes is an Object created during instance initialization (construction), and are used internally by .get() to replace dynamic parts of an item path.
| Attribute | Field |
|---|---|
language | Language Subtag (spec) |
script | Script Subtag (spec) |
region or territory | Region Subtag (spec) |
languageId | Language Id (spec) |
maxLanguageId | Maximized Language Id (spec) |
language,script,territory(also aliased asregion), andmaxLanguageIdare computed by adding likely subtags according to the specification.languageIdis always in the succint form, obtained by removing the likely subtags frommaxLanguageIdaccording to the specification.