PHP setlocale() - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: PHP setlocale() (/showthread.php?tid=132) |
PHP setlocale() - ccagle8 - 2009-09-08 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 PHP setlocale() - ccagle8 - 2009-09-08 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 |