I18n.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:38:28 +0000 (11:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:38:28 +0000 (11:38 +0800)
I18n.php

index 5a49205..ced2df4 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -185,7 +185,7 @@ class Pman_Core_i18N extends Pman
         {
             $lang = array_shift(explode('_', strtoupper($lang)));
             
-            $ar[$lang] = array(
+            $ar[strtolower($lang)] = array(
                 'l' => $this->objToList('l', new I18Nv2_Language($lang, 'UTF-8')),
                 'c' => $this->objToList('c', new I18Nv2_Country($lang, 'UTF-8')),
                 'm' => $this->objToList('m', new I18Nv2_Currency($lang, 'UTF-8'))