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 ); set_gettext_file( PACKAGE );
#else #else
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
/* gtk_set_locale (); HMMM: We have not yet called gtk_init */ setlocale (LC_ALL, "");
bindtextdomain( PACKAGE, LOCALEDIR ); bindtextdomain (PACKAGE, LOCALEDIR);
textdomain( PACKAGE ); textdomain (PACKAGE);
#endif #endif
#endif #endif
} }