36 void Init(
const char *pszLanguage);
55 const char *
Localize(
const char *pszToken,
bool bFail);
Reference-counted array of script data nodes.
Definition dataarray.h:20
Text of the user interface in the console language.
Definition locale.h:11
Locale()
Construct a locale with no text loaded.
virtual ~Locale()
Release the text through Terminate().
DataArray * GetStrings() const
Definition locale.h:58
const char * Localize(const char *pszToken, bool bFail)
Look up the text of a token in the language Init() loaded.
int GetFileCount() const
Definition locale.h:63
void Init(const char *pszLanguage)
Build the text table of one language from the configuration.
void Terminate()
Release the text table, if one is loaded.
Locale TheLocale
The user interface text.
void LocalePrepare()
Prepare the locale layer while the system starts.