Reply to Re: gettext() troubles

Your name:

Reply:


Posted by Michael Wallner on 10/21/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 >

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация