The Localizer class provides localization services for work schedule user-visible text as well as for error messages.
More...
|
def | __init__ (self) |
| Construct the Localizer.
|
|
str | messageStr (self, str msgId) |
| Get the translated error message text for the default locale and country code. More...
|
|
|
def | instance () |
| Get the single instance of Localizer
|
|
str | getLC () |
| get the the language country code from the default locale
|
|
|
string | localePath = "locales" |
|
| singleton = None |
|
The Localizer class provides localization services for work schedule user-visible text as well as for error messages.
It is a Singleton class
◆ messageStr()
str localizer.Localizer.messageStr |
( |
|
self, |
|
|
str |
msgId |
|
) |
| |
Get the translated error message text for the default locale and country code.
- Parameters
-
- Returns
- translated text
The documentation for this class was generated from the following file: