Put the language selector box back in (but it doesn't work yet)
[citadel.git] / webcit / gettext.c
index 145b7b598fc178d9c80548ecae191b8a6e8f48be..432e0ff7428938fa9b74c16cec39206d516c1f33 100644 (file)
@@ -217,7 +217,7 @@ void tmplput_offer_languages(StrBuf *Target, WCTemplputParams *TP)
                return;
        }
 
-       wc_printf("<select name=\"language\" id=\"lname\" size=\"1\">\n");
+       wc_printf("<select name=\"language\" id=\"lname\" size=\"1\" onChange=\"window.location.reload();\">\n");
 
        for (i=0; i < nLocalesLoaded; ++i) {
 #ifndef HAVE_USELOCALE