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 >
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php