Localization Module
Holds the languages of the application and converts a language to a two-letter code or a name, and a two-letter code to a language.
Types
| Type | Description |
|
The languages the application supports. A new language also needs a case in toShortCode, toString, languages, tryParse, the client lookup of terms and a column in the Localization sheet. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
Returns the name of the language in that language, as in the header row of the Localization sheet.
|
|
Parses a two-letter language code (en, nl, fr, de, es or it), ignoring case and surrounding white space. Returns None for null and any other text, a language name included. Parses both the GENPRES_LANG setting and the lan url parameter.
|
GenPRES