ListCtrl and functions to display languages and the flags of their countries
Builds a mapping of language ids to LANG_COUNTRY codes. |
|
Create a language resource list |
|
Create a language resource list |
|
Get the wx identifier for a language. |
|
BuildLanguageCountryMapping
()¶Builds a mapping of language ids to LANG_COUNTRY codes.
the mapping as a {langID: countryCode}
CreateLanguagesResourceLists
(filter=LC_AVAILABLE, only=())¶Create a language resource list
filter – Filter the list of languages (LC_AVAILABLE, LC_ALL or LC_ONLY)
only – a tuple of language ids
a tuple of (bitmaps, language descriptions, language ids)
GetLanguageFlag
(lang)¶Create a language resource list
filter – Filter the list of languages (LC_AVAILABLE, LC_ALL or LC_ONLY)
only – a tuple of language ids
a tuple of (bitmaps, language descriptions, language ids)
GetWxIdentifierForLanguage
(lang)¶Get the wx identifier for a language.
The language id as a string