16 void _gtransInit(
void)
22 void _gtransDeinit(
void)
37 if (strcmp(
string, _languageBase->
strings[i]) == 0) {
51 return _languageCurrent->
strings[i];
56 if (!_languageCurrent) {
64 return _languageCurrent->
strings[index];
69 _languageBase = translation;
74 _languageCurrent = translation;
const char * gtransString(const char *string)
Get the string of the current language specified by the string of the base language.
void gtransSetLanguage(const transTable *const translation)
Set the current language.
const char * gtransIndex(unsigned index)
Get the string at the specified index position of the current language.
void gtransSetBaseLanguage(const transTable *const translation)
Set the base language.
A table containing translated strings.