On Thu, Mar 29, 2001 at 03:45:39PM -0000, [EMAIL PROTECTED] wrote:
> ID: 10058
> User Update by: [EMAIL PROTECTED]
> 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.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]