LocaleManager
new LocaleManager()
- Description:
- Source:
Methods
doAddToDictionary(localename, id, value)
- Description:
- Adds localized string to dictionary with specified localename and id.
- Source:
Parameters:
Name |
Type |
Description |
localename |
|
|
id |
|
|
value |
|
|
doApplyLocale(id)
- Description:
- Apply locale with specified id.
- Source:
Parameters:
doAttachLocaleFile(localename, filenames)
- Description:
- Adds a locale file with the given CSS filename and name to the locale table.
- Source:
Parameters:
Name |
Type |
Description |
localename |
|
|
filenames |
|
|
getCurrentLocaleID() → {number|*}
- Description:
- Get id of current locale.
- Source:
Returns:
-
Type
-
number
|
*
getLocaleList() → {array}
- Description:
- Source:
Returns:
-
Type
-
array
getValueFromDictionary(id) → {*}
- Description:
- Get value from dictionary by id for current locale.
- Source:
Parameters:
Returns:
-
Type
-
*