Re: can't get gettext() to work!

From: Date: Fri, 03 Aug 2001 03:15:29 +0000
Subject: Re: can't get gettext() to work!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61066@lists.php.net to get a copy of this message
> setlocale(LC_ALL, ''); > putenv('LANG=fr'); /* <<< changed here */ > setlocale(LC_ALL, ''); WILD GUESS ALERT! My gut says you need setlocale(LC_ALL, 'fr') or similar in the French one... And maybe even 'en' for the English one. Even if the docs say you don't. There was another thread recently about setlocale() and the second argument and what it had to look like depending on some /etc file... Search in the past three days for 'fr_FR' and it'll come up. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#61066) next »