From 7afa85fbae08a7c11e23774bb74b071abb8aaf5b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 21 Feb 2010 21:29:41 +0000 Subject: [PATCH] Fix: debug multilang --- htdocs/translate.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index b2b4361de8b..b2c8305d616 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -102,7 +102,7 @@ class Translate { } else { // If its a short code xx // Array to convert short lang code into long code. - $longforshort=array('ca'=>'ca_ES', 'nb'=>'nb_NO', 'no'=>'nb_NO'); + $longforshort=array('en'=>'en_US', 'ca'=>'ca_ES', 'nb'=>'nb_NO', 'no'=>'nb_NO'); if (isset($longforshort[strtolower($langpart[0])])) $srclang=$longforshort[strtolower($langpart[0])]; else $srclang=strtolower($langpart[0])."_".strtoupper($langpart[0]); }