Re: gettext() troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux