Re: language selection

From: Date: Thu, 19 Feb 2004 15:12:53 +0000
Subject: Re: language selection
References: 1 2 3 4 5  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359071@lists.php.net to get a copy of this message
Nuno Lopes wrote:
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"
I know this Nuno, but we WANT to display the available languages ! Like in this page : http://fr.php.net/docs.php didou

« previous php.doc (#969359071) next »