Files
motion/translate.h
Mr-DaveDev 189974106b Native Language Revisions
* Revise MOTION_LOG macro

* Add native_language option

* Additional languages

* Add log messages to po files
2018-06-09 14:17:02 -06:00

27 lines
604 B
C

/*
* translate.h
*
* Include file for translate.c
*
* This software is distributed under the GNU Public License Version 2
* See also the file 'COPYING'.
*
*/
#ifndef _INCLUDE_TRANSLATE_H_
#define _INCLUDE_TRANSLATE_H_
int nls_enabled;
#ifdef HAVE_INTL
# include <libintl.h>
extern int _nl_msg_cat_cntr; /* Required for changing the locale dynamically */
#endif
#define _(STRING) translate_text(STRING)
char* translate_text(const char *msgid);
void translate_init(void);
void translate_locale_chg(const char *langcd);
#endif // _INCLUDE_TRANSLATE_H_