Re: gettext() troubles

From: Date: Fri, 23 Sep 2005 14:01:07 +0000
Subject: Re: gettext() troubles
References: 1  Groups: php.general php.i18n 
Request: Send a blank email to php-general+get-223071@lists.php.net to get a copy of this message
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 >

« previous php.general (#223071) next »