Used for storing and looking up localized strings. Uses an ini-file like file format for localization lookup.
#include <util/text-lookup.h>
Creates a text lookup object from a text lookup file.
path – Path to the localization file
New lookup object, or NULL if an error occurred
Adds text lookup from a text lookup file and replaces any values.
For example, you would load a default fallback language such as
english with text_lookup_create(), and then call this
function to load the actual desired language in case the desired
language isn’t fully translated.
lookup – Lookup object
path – Path to the localization file
true if successful, false otherwise
Destroys a text lookup object.
lookup – Lookup object