|
Vesna
|
The ApplicationLanguageSwitcher class - this class is used for temporary language changes, when only a single or a few texts needs to be translated to default (startup) language This class is a singleton, which enables you to use it wherever it is needed (ApplicationLanguageManager is accessible only within application states, but has same functionality to set temporary language). More...
#include <ApplicationLanguageSwitcher.h>


Classes | |
| class | DataClass |
Public Member Functions | |
| bool | SetDefaultTemporaryLanguage () |
| SetDefaultTemporaryLanguage - this method is used to temporary change current language to default language This (temporary language) is primary used to non-UI interface language changes, e.g. printed ticket texts translations. Global language automatically translates UI. More... | |
| bool | ResetTemporaryLanguageToGlobal () |
| ResetTemporaryLanguageToGlobal - method resets previously set temporary language to global language. More... | |
The ApplicationLanguageSwitcher class - this class is used for temporary language changes, when only a single or a few texts needs to be translated to default (startup) language This class is a singleton, which enables you to use it wherever it is needed (ApplicationLanguageManager is accessible only within application states, but has same functionality to set temporary language).
| bool ApplicationLanguageSwitcher::ResetTemporaryLanguageToGlobal | ( | ) |
ResetTemporaryLanguageToGlobal - method resets previously set temporary language to global language.
| bool ApplicationLanguageSwitcher::SetDefaultTemporaryLanguage | ( | ) |
SetDefaultTemporaryLanguage - this method is used to temporary change current language to default language This (temporary language) is primary used to non-UI interface language changes, e.g. printed ticket texts translations. Global language automatically translates UI.
1.8.8