projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8039a24
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 07:14:54 +0000
(15:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 07:14:54 +0000
(15:14 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
89f1c22
..
b2d47d4
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-178,9
+178,18
@@
class Pman_Core_I18N extends Pman
return '??';
}
$lang = !$au || empty($au->lang ) ? 'en' : is_string($au) ? $au : $au->lang;
+
+
+
+
+
+
$lbits = explode('_', strtoupper($lang));
$lang = $lbits[0];
+
+
+
if (!isset($cache[$lang])) {
require_once 'I18Nv2/Country.php';
require_once 'I18Nv2/Language.php';