Author: janhoy
Date: Tue Apr 26 10:30:14 2016
New Revision: 1740993

URL: http://svn.apache.org/viewvc?rev=1740993&view=rev
Log:
Bugfix: Prevent redirect from no -> nb

Modified:
    openoffice/ooo-site/trunk/content/no/index.html

Modified: openoffice/ooo-site/trunk/content/no/index.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/no/index.html?rev=1740993&r1=1740992&r2=1740993&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/no/index.html (original)
+++ openoffice/ooo-site/trunk/content/no/index.html Tue Apr 26 10:30:14 2016
@@ -177,6 +177,11 @@
                lang_iso = "";
        }
 
+    // Skip redirect for Norwegian TODO: Needs permanent fix
+    if( lang_iso === "nb" || lang_iso === "no" || lang_iso === "no-NO" || 
lang_iso === "nn" || lang_iso === "nb-NO" || lang_iso === "nn-NO" ) {
+        lang_mode = "none";
+    }
+
        switch( lang_mode ) {
                case "hard":
                        // Do not show a message, just redirect. 


Reply via email to