const char * gettext_ngettext(const char *msgid, const char *msgid_plural, uint64_t n)
Return a translated version of the input, using the current language catalogs.
void gettext_exit(void)
Free resources associated with the translation system. This invalidates previously returned pointers ...
double gettext_languageCoverage(const char *lang)
Return the fraction of strings which have a translation into the given language.
void gettext_setLanguage(const char *lang)
Set the translation language.
const char * gettext_getLanguage(void)
Gets the active (primary) translation language. Even in case of a complex locale, this will be the na...
const char * pgettext_var(const char *msgctxt, const char *msgid)
LanguageOption * gettext_languageOptions(void)
List the available languages, with completeness statistics.
const char * gettext_getSystemLanguage(void)
Gets the current system language as detected by Naev.
void gettext_init(void)
Initialize the translation system. There's no presumption that PhysicsFS is available,...
const char * gettext_pgettext_impl(const char *lookup, const char *msgid)
Helper function for p_(): Return _(lookup) with a fallback of msgid rather than lookup.