reload_config_texts(3alleg4) centos man page | unix.com

Man Page: reload_config_texts

Operating Environment: centos

Section: 3alleg4

reload_config_texts(3alleg4)					  Allegro manual				      reload_config_texts(3alleg4)

NAME
reload_config_texts - Reloads translated strings returned by get_config_text(). Allegro game programming library.
SYNOPSIS
#include <allegro.h> void reload_config_texts(const char *new_language);
DESCRIPTION
Reloads the translated strings returned by get_config_text(). This is useful to switch to another language in your program at runtime. If you want to modify the `[system]' language configuration variable yourself, or you have switched configuration files, you will want to pass NULL to just reload whatever language is currently selected. Or you can pass a string containing the two letter code of the language you desire to switch to, and the function will modify the language variable. After you call this function, the previously returned pointers of get_config_text() will be invalid. Example: ... /* The user selects French from a language choice menu. */ reload_config_texts("FR");
SEE ALSO
get_config_text(3alleg4), get_config_string(3alleg4) Allegro version 4.4.2 reload_config_texts(3alleg4)
Related Man Pages
get_config_string(3alleg4) - debian
get_config_text(3alleg4) - debian
get_config_string(3alleg4) - opendarwin
get_config_string(3alleg4) - netbsd
get_config_string(3alleg4) - plan9
Similar Topics in the Unix Linux Community
Weird 'find' results
How to increment version inside a file?
Shopt -s histappend
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!