LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Stig S. Bakken Date: Tue Mar 18 23:24:40 2003 Subject: Re: Language Auto Detection / www.php.net
On Wed, 2003-03-12 at 11:31, James Cox wrote: > Gabor Hojtsy <gabor@hojtsy.hu> wrote: > > > > is there any chance that we can revert this annoying feature? > > > The translated documentation is always behind and partly lacks > > > important information from the english version. I want to read > > > the documentation in english (and I am not the only one). This > > > is only possible if I change the url after all searches to /en/ > > > The site should at least be so intelligent to search in the > > > /en/ part of the manual if I search from an /en/ page. > > > > This is fixed now, and works again the way it was before the > > weekend (if you explicitly specify a language with being on a > > manual page in a language, or using the search page with a language > > parameter, that language is carried on). > > > > We do have language specification abilities in URL shortcuts, which > > is the short term solution, while I (or someone else) add the > > language cookie support. See http://php.net/urlhowto > > I remember adding a cookie before for something trivial (user-configurable > css) and jimw pointing out that it tends to do silly things with caching... > (ie, renders it useless) There's always "Vary: Cookie", though I think the world is still lagging in implementing it. :-( A good way to fix the caching problem for language detection is to use non-caching headers on pages such as /manual/ and redirect to the language-specific page. - Stig
| Navigate in group php.dev at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |