diff --git a/src/astrognome.c b/src/astrognome.c index 34e5476..19cef32 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -63,10 +63,11 @@ main(int argc, char *argv[]) AgApp *app; GError *err = NULL; - setlocale(LC_ALL, ""); +#ifdef ENABLE_NLS bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); +#endif gswe_init();