logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mini18n_set_locale, mini18n_set_domain - load translations

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);

See Also