Since two weeks now, i'm having a *lot* of problems with gettext and locale.
It was not possible for me to change locale in phpESP.
Today i've decide to make an "hello world" internationalized application
(like presented in http://zez.org/article/articleview/42/1/ )
It doesn't work anymore.
So there's no bug in phpESP with the locale problem.
One of my friend discovered that gettext presents some problems due to
the glibc (yes,i've got a linux box so windows is not concerned)
the problem can be resolved using these lines in admin/phpESP.ini like
this :
39c39,40
< putenv("LC_ALL=$lang");
---
> putenv("LANG=$lang");
> setlocale(LC_ALL,"");
|