17} local_file_mapping[] = {
18 {LANGE_EN,
"local_en.properties"},
19 {LANGE_DE,
"local_de.properties"}};
local_lang_t get_language(void)
Retrieve the currently set language of the local handler.
void shutdown_local_handler(void)
Shut down the local language handler by releasing resources and closing the resource file.
int init_local_handler(local_lang_t lang)
Initialize the local language handler by setting up the language and opening the corresponding resour...
char * get_local_string(const char *key)
Get the localized string for the given key.
void observe_local(void(*update_func)(void))
Registers an observer function to be notified of updates from the local handler.
int set_language(local_lang_t lang)
Sets the current language for the local handler and updates all registered observers.