...
Localization_language library's Language constructor that creates an object used for translating strings. After the object is created, it checks the phone's lang/locale settings and attempts to load any localized string files available. For example, if the phone's locale is set to es_mx (Spanish/Mexico), the Language constructor checks the app's directory for a 'strings-es_mx.js' file and attempts to load language keys from this file. For more information about creating localized apps see Building Localized Apps in the Guides section.
Additionally, the phone's lang/locale settings can be overridden when creating the Language object by passing a langLocale string to the constructor.
...
The functionality of this object is included in the app extended library . It is recommended you use the app library if you wish to use this feature.
Methods
Name | Description |
---|---|
Look up a language key and test it against the currently specificed language. |
...