Re: PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language

From: Date: Thu, 29 Mar 2001 15:48:08 +0000
Subject: Re: PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-50247@lists.php.net to get a copy of this message
On Thu, Mar 29, 2001 at 03:45:39PM -0000, bogdan@itconsulting.ro wrote: > ID: 10058 > User Update by: bogdan@itconsulting.ro > Status: Open > Bug Type: Gettext related > Description: Gettext doesn't react when I change the language > > I set the language with this: > > putenv ("LC_ALL=ro"); > > and the translation is ok. > if I change it to: > > putenv ("LC_ALL=de"); > > and reload the page nothing happens. > But if I restart the Apache, and reload again the page evething is ok. > Oh, and is not a cache problem, because I'm sending expiry, and no cache headers. > > with putenv ("LANG=ro"); I get the same result. Use setlocale() instead. -- Sincerely yours, Alexander Bokovoy The Midgard Project | ALT Linux Team | Minsk Linux Users Group www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net -- Elevators smell different to midgets.

« previous php.dev (#50247) next »