* make WEBCIT_LANG persistantly working through xgettext and bsd locale
[citadel.git] / webcit / webserver.c
index c999062414fef13ee3bf6cab854125b6dc441f8d..4804de36dd92deb14864f47e4fef9d02f0e02402 100644 (file)
@@ -793,6 +793,7 @@ int main(int argc, char **argv)
 #ifdef ENABLE_NLS
        initialize_locales();
 
+
        locale = setlocale(LC_ALL, "");
 
        mo = malloc(strlen(webcitdir) + 20);
@@ -800,7 +801,6 @@ int main(int argc, char **argv)
        free(mo);
        lprintf(9, "Text domain: %s\n", textdomain("webcit"));
        lprintf(9, "Text domain Charset: %s\n", bind_textdomain_codeset("webcit","UTF8"));
-       preset_locale();
 #endif