blob: 6d9108db1df58d588965f63700442060c03a9e8a [file] [log] [blame]
#include "config.h"
#include "pot.h"
#include <locale.h>
/*************************************************************************
* if you want to turn off gettext without changing sources edit pot.h
*************************************************************************/
void gettexton(void)
{
#ifdef USE_GETTEXT
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR);
textdomain(PACKAGE);
#endif
}