Forums | Mahara Translation
12 October 2010, 16:00
In langconfig.php, should there be at least one Windows-like locale? (See http://msdn.microsoft.com/en-us/library/39cwe7zf(vs.71).aspx and maybe relevant parts of http://php.net/manual/en/function.setlocale.php.)
For example, in the default langconfig.php, should this:
$string['locales'] = 'en_US.utf8,en_GB.utf8,en';
perhaps be changed to something more like:
$string['locales'] = 'en_US.utf8,en_GB.utf8,en,english-us,english-uk,english';
It seems to me that the answer is probably "yes" but I'm no expert in these matters...
17 October 2010, 22:52
Neither am I, but I've just added them anyway.
The warning on that php manual page implies that ugly things are going to happen to anyone trying to run a multilanguage site on Windows!
18 October 2010, 15:03
Well, if you're going to put the change in the core code, I guess I better mirror it in the US English language pack...