I have installed the dutch local (nl_NL utf8
) on my webserver (when I execute locale -a
I see nl_NL utf8
so this is allright).
However, the dates on my webpage are in english (I have put setlocale(LC_ALL, 'nl_NL');
in the top of my pages). I have read when you install a locale package after compiling php, I have to recompile php.
But is there any other solution, without recompiling php, to let it work?
Thanks!
This may be by design: setlocale()
does not automatically change the output of the format of dates output using date()
and strftime()
. What it does is localize the weekday and month names, but nothing else.
Can you show some examples of how you output dates, and how they fail to get converted?