This file is a module for managing translations and the internationalization of the program.
GetAvailLocales: Returns a list of canonical names of available locales
keys and language ids for values.
GetAvailLocales | Gets a list of the available locales that have been installed |
GetLangId | Gets the ID of a language from the description string. If the |
GetLocaleDict | Takes a list of cannonical locale names and by default returns a |
LangListCombo | Combines a langlist and a BitmapComboBox |
Gets a list of the available locales that have been installed for the editor. Returning a list of strings that represent the canonical names of each language.
Returns: | list of all available local/languages available |
---|
Gets the ID of a language from the description string. If the language cannot be found the function simply returns the default language
Parameters: | lang_n – Canonical name of a language |
---|---|
Returns: | wx.LANGUAGE_*** id of language |
Takes a list of cannonical locale names and by default returns a dictionary of available language values using the canonical name as the key. Supplying the Option OPT_DESCRIPT will return a dictionary of language id’s with languages description as the key.
Parameters: |
|
---|---|
Returns: | dict of locales mapped to wx.LANGUAGE_*** values |