|
Posted by Michael Wallner on 09/29/67 11:27
Hi Denis Gerasimov, you wrote:
> I am facing some troubles with gettext.
> ...
> putenv("LANG=ru_RU");
Speaking from my experience, you need to use only "ru" there
on Windows...
> setlocale (LC_ALL,"ru");
....but you definitly have to use the Windows abbreviation
for the corresponding locale in the setlocale call.
Have a look at PEARs I18Nv2 module which attempts to solve
this discrepancy.
Regards,
--
Michael - < mike(@)php.net >
Navigation:
[Reply to this message]
|