![]() |
Lysa
0.0
Lysa 3D Engine
|
Localization helper
Classes | |
| struct | Translate |
Static Public Member Functions | |
| static void | load (const std::string &file="default") |
| static void | setLocale (const std::string &lang) |
| static const auto & | getLocale () |
|
inlinestatic |
Returns the current locale
|
static |
Loads a translation file for the current locale
| file | file name |
|
static |
Sets the current locale. Can load missing files when switching from another locale.
| lang | langage code |