mini18n_set_locale, mini18n_set_domain - load translations
Contents
Description
mini18n_set_locale() loads a translation from the specified filepath.
mini18n_set_domain() loads a translation matching the system language. The translation file is searched
in the directory specified by dirpath. If dirpath is NULL, the translation is searched in the current
directory.
Name
mini18n_set_locale, mini18n_set_domain - load translations
Return Value
These functions return 0 if successful and -1 otherwise.
mini18n-0.2 August 30, 2011 mini18n_set_domain(3)
Synopsis
#include<mini18n.h>intmini18n_set_locale(constchar*filepath);intmini18n_set_domain(constchar*dirpath);
