setlocale function

From: Date: Fri, 04 Jan 2002 12:58:44 +0000
Subject: setlocale function
Groups: php.dev 
Request: Send a blank email to php-dev+get-75871@lists.php.net to get a copy of this message
Hello, could someone tell me if it's possible to change the locale on the system. I'm working with : * WinNT 4.0 Server * Apache 1.3.19 * PHP 4.1.1 I tried the following code (which is from the manual): setlocale ("LC_TIME", "C"); print (strftime ("%A in Finnish is ")); setlocale ("LC_TIME", "fi_FI"); print (strftime ("%A, in French ")); setlocale ("LC_TIME", "fr_FR"); print (strftime ("%A and in German ")); setlocale ("LC_TIME", "de_DE"); print (strftime ("%A.\n")); all %A are in the same language. do i have to configure something ? Greetz, RoelS

« previous php.dev (#75871) next »