|I get this error:|
Unable to set locale for language 'en'.; Code: 512
|2006-10-26 16:14:36 - In reply to message 1 from Kasper Nielsen|
|I get the same error! Can't figure out where I am wrong. I use the example.php file for building my own pages, still got the same error!|
And the webpage of this project is out, so maybe, we must try other multilanguage classes.
|2007-04-12 14:29:58 - In reply to message 2 from XOOX|
|I have this error too, but with me the locae is pt_BR (Portuguese Brazilian) for a latin site.|
|2007-10-12 11:47:05 - In reply to message 1 from Kasper Nielsen|
|You will get this error if the locale functionality is not implemented on your platform, the specified locale does not exist or the category name is invalid.|
I was getting this error because I was using "cn_CN" for Chinese_China instead of the correct code "zh_CN".
You can use this code to get a list of your system's locales.
$str = ob_get_contents();
print_r( split("\\n", trim($str)));