LocaleManager

LocaleManager

new LocaleManager()

Description:
  • Locale manager class.
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:
Name Type Description
id

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:
  • Get list of locales.
Source:
Returns:
Type
array

getValueFromDictionary(id) → {*}

Description:
  • Get value from dictionary by id for current locale.
Source:
Parameters:
Name Type Description
id
Returns:
Type
*