Re: language selection
| From: | Nuno Lopes | Date: | Thu, 19 Feb 2004 15:06:48 +0000 |
| Subject: | Re: language selection | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359070@lists.php.net to get a copy of this message | ||
> > I call http://192.168.0.1/t/livedocs/ and just appears the
> > usual page.
If I
> > change to 0 in FORCE_DYNAMIC it works.
> > Maybe It's better to read the header that the client's browser sends and
> > redirect him automatically to its language (if avaliable, otherwise show
the
> > avaliable's).
>
> Weird :/ I don't think we should automatically redirect the user, we're
> currently looking for a way to display all the available languages :)
> I'll try to reimplement the error.php code, it's really silly.
Your browser sends your language, so why ask it? take a look at
$_SERVER[HTTP_ACCEPT_LANGUAGE]
mine prints: "pt,en-gb;q=0.7,en-us;q=0.3"
> > P.S.: just one more bug: php.net theme doesn't work on IE 6 SP1, but it
> > works in Mozilla. strange.....
>
> Strange ? :)))) Let's stay politically correct :I
Yes, but I will take a look into this later, because IE is the most user
browser...