GetSimple Support Forum

Full Version: PHP setlocale()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey multi-language developers out there... what is PHP's setlocale() function for? I read over the php article, but I am not sure if GS should be using it or not.

http://us3.php.net/manual/en/function.setlocale.php
Also, I am thinking that doing an auto-detect for user language might be best too... i found this: $_SERVER["HTTP_ACCEPT_LANGUAGE"] - Has anyone had any dealings with it?

http://www.phptutorial.info/scripts/languages.php