#include <mobu-python-api.h>
Language manager.
The class FBMultiLangManager indicates the supported languages and allows to query and change the current language. The support for localization is done using conversion tables from internal names to language specific names, so that they can be used in the GUI and other human readable contexts.
The following sample code lists the names of the supported languages: Python sample code:
C++ sample code:
Public Member Functions | |
bool | SetCurrentLanguage (FBMultiLangManager arg1, str arg2) |
Set the current language. More... | |
__reduce__ () | |
__init__ (object arg1) | |
str | GetCurrentLanguage (FBMultiLangManager arg1) |
Obtain the current language. More... | |
Public Attributes | |
ORSDK2018::FBStringList | Languages |
List of available languages. More... | |
__init__ | ( | object | arg1 | ) |
Python Docstring:
__init__( (object)arg1) -> None
C++ Constructors:
The reference documentation for the following C++ symbols may contain additional relevant information.
__reduce__ | ( | ) |
str GetCurrentLanguage | ( | FBMultiLangManager | arg1 | ) |
Obtain the current language.
Python Docstring:
GetCurrentLanguage( (FBMultiLangManager)arg1) -> str
C++ Signature:
const char * GetCurrentLanguage()
Query the current language used for the GUI.
bool SetCurrentLanguage | ( | FBMultiLangManager | arg1, |
str | arg2 | ||
) |
Set the current language.
Python Docstring:
SetCurrentLanguage( (FBMultiLangManager)arg1, (str)arg2) -> bool
C++ Signature:
bool SetCurrentLanguage(const char * pLanguage)
Change the current language to another available language.
pLanguage | The string corresponding to the desired language, as defined in property Languages. |
ORSDK2018::FBStringList Languages |
List of available languages.