The Localizer class provides localization services for work schedule user-visible text as well as for error messages.
More...
|
|
| __init__ (self) |
| | Construct the Localizer.
|
| |
| str | messageStr (self, str msgId) |
| | Get the translated error message text for the default locale and country code.
|
| |
|
|
| instance () |
| | Get the single instance of Localizer
|
| |
|
str | getLC () |
| | get the the language country code from the default locale
|
| |
|
|
str | 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: