Date: 03/29/01
- Next message: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #10057 Updated: Multidimensional arrays passed to function using func_get_args"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9175 Updated: Configure isn't settings vars correctly"
- In reply to: bogdan <email protected>: "[PHP-DEV] PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language"
- Next in thread: bogdan <email protected>: "[PHP-DEV] PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Mar 29, 2001 at 03:45:39PM -0000, bogdan <email protected> wrote:
> ID: 10058
> User Update by: bogdan <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #10057 Updated: Multidimensional arrays passed to function using func_get_args"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9175 Updated: Configure isn't settings vars correctly"
- In reply to: bogdan <email protected>: "[PHP-DEV] PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language"
- Next in thread: bogdan <email protected>: "[PHP-DEV] PHP 4.0 Bug #10058 Updated: Gettext doesn't react when I change the language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

