Hi, I cant get the PHP setlocale function to work on OSX.
<?php
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"));
?>
returns :
Wednesday in Finnish is Wednesday, in French Wednesday and in German Wednesday
Anyone got this to work ?
<?php
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"));
?>
returns :
Wednesday in Finnish is Wednesday, in French Wednesday and in German Wednesday
Anyone got this to work ?