Hi,
no solution to bring, but i’m facing the same problem. The OS locales seems properly set, but strtotime still displays english days/mounths.
Any hint will be much appreciated.
-
- 390 Posts
Sorry, don’t really understand your problem as I don’t do international stuff, but if "więcej" is meant to be a placeholder then it’s mis-tagged. Should be [[+więcej]]
Probably doesn’t help at all....
Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
Have you set the php locale? You’ll need to do that in php.ini or write a plugin or snippet to set it as you expect.
-
- 659 Posts
Hi
not sure of that, but I think I read somewhere, there was a ’problem’ with the setlocale, with Windows...
On my site on local install (Windows7, WAMP, Revo2) setlocale (well specified in php.ini etc...) does not work and my days and months stay in english (no matter of my settings in System settings or php.ini)
But on a site on my live server (Linux) with the same settings (in my system settings and my php.ini)the setlocale works and I get the days and months in the right language...
The problem is the same with other snippets (Quip ...)
Don’t know if Windows7 (don’t know about other versions) is the culprit for this issue... but ...
Cheers