use setlocale().

This commit is contained in:
Werner Koch 2002-08-21 11:10:44 +00:00
parent ba0de8e956
commit afc40938ec
1 changed files with 3 additions and 3 deletions

View File

@ -137,9 +137,9 @@ i18n_init (void)
set_gettext_file( PACKAGE );
#else
#ifdef ENABLE_NLS
/* gtk_set_locale (); HMMM: We have not yet called gtk_init */
bindtextdomain( PACKAGE, LOCALEDIR );
textdomain( PACKAGE );
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
#endif
#endif
}