utils/localization.h file

Localization utils.

Contents

Functions

auto localization_get_string_code(UiLanguage lang) -> char*
Returns the character string code for the language (e.g.
auto localization_locale_exists(UiLanguage lang) -> char*
Returns the first locale found matching the given language, or NULL if a locale for the given language does not exist.
auto localization_init(void) -> int
Sets the locale to the currently selected one and inits gettext.