]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* More work to get the gettext stuff working, although I really don't
[citadel.git] / webcit / webserver.c
index a7510d03798d6446464d0b74eda090585e298ec1..1e11f555d6c00fd1a26d44e7d7191524fbd9c286 100644 (file)
@@ -381,6 +381,14 @@ int main(int argc, char **argv)
        char tracefile[PATH_MAX];
        char ip_addr[256];
        char *webcitdir = WEBCITDIR;
+       char *locale = NULL;
+
+       /* initialize the International Bright Young Thing */
+#ifdef ENABLE_NLS
+       locale = setlocale(LC_ALL, "");
+       bindtextdomain(PACKAGE, LOCALEDIR);
+       textdomain(PACKAGE);
+#endif
 
        /* Parse command line */
 #ifdef HAVE_OPENSSL