utils/localization.h file


Localization utils.


static auto localization_get_string_code(LocalizationLanguage lang) -> const char*
Returns the character string code for the language (e.g.
auto localization_locale_exists(LocalizationLanguage 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(bool use_locale, bool print_debug_messages) -> bool
Sets the locale to the currently selected one and inits gettext.