|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-03-29 10:43 UTC] bogdan at itconsulting dot ro
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 chache headers.
with putenv ("LANG=ro"); I get the same result.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
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.Nope. If I use only setlocale("LC_ALL","ro") - I tried other thing too like "LC_MESSAGES" or "ro_RO", changed the names of diretories - it doesn't work anymore, and if I use it together with putenv I go back to the old problem.