]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
* Per-session locale. For some reason it doesn't work well.
[citadel.git] / webcit / webcit.c
index 26a7c43f776b4997cdaa9e1425f8e293574d6d5c..716275b3107e53f80c1a7a4b428785d1810946d6 100644 (file)
@@ -924,9 +924,12 @@ void session_loop(struct httprequest *req)
        WC->upload_length = 0;
        WC->upload = NULL;
        WC->vars = NULL;
-
        WC->is_wap = 0;
 
+#ifdef ENABLE_NLS
+       go_selected_language();
+#endif /* ENABLE_NLS */
+
        hptr = req;
        if (hptr == NULL) return;