Thread: Translations not even working?
Can someone verify if what we have now *even works*? I've been trying for a while to make sure that works, but I can't make it :-( I configured my browser to prefer French, but I still only get served the English pages. This is both from www and wwwmaster. The only page I know that's actually translated is the presskit, available at http://www.postgresql.org/about/press/presskit82.html. Can someone confirm if this thing *ever* shows up translated based on the language in the browser? (I know there are direct links to the translated version, that's something completely different. I'm talking about the automatically-show-the-correct-language stuff) //Magnus
Hi, Magnus Hagander wrote: > Can someone verify if what we have now *even works*? I've been trying > for a while to make sure that works, but I can't make it :-( > > I configured my browser to prefer French, but I still only get served > the English pages. This is both from www and wwwmaster. The only page I > know that's actually translated is the presskit, available at > http://www.postgresql.org/about/press/presskit82.html. > > Can someone confirm if this thing *ever* shows up translated based on > the language in the browser? (I know there are direct links to the > translated version, that's something completely different. I'm talking > about the automatically-show-the-correct-language stuff) I confirm that it displays in Russian for me, *if* you access it as http://www.postgresql.org/about/press/presskit82 If you access that as http://www.postgresql.org/about/press/presskit82.html then content negotiation is not performed. See the docs for Apache: http://httpd.apache.org/docs/1.3/content-negotiation.html
Alexey Borzov wrote: > Hi, > > Magnus Hagander wrote: >> Can someone verify if what we have now *even works*? I've been trying >> for a while to make sure that works, but I can't make it :-( >> >> I configured my browser to prefer French, but I still only get served >> the English pages. This is both from www and wwwmaster. The only page I >> know that's actually translated is the presskit, available at >> http://www.postgresql.org/about/press/presskit82.html. >> >> Can someone confirm if this thing *ever* shows up translated based on >> the language in the browser? (I know there are direct links to the >> translated version, that's something completely different. I'm talking >> about the automatically-show-the-correct-language stuff) > > I confirm that it displays in Russian for me, *if* you access it as > http://www.postgresql.org/about/press/presskit82 > > If you access that as > http://www.postgresql.org/about/press/presskit82.html then content > negotiation is not performed. See the docs for Apache: > http://httpd.apache.org/docs/1.3/content-negotiation.html There you go. Wasn't aware of that, I was trying with the .html only. Thanks! //Magnus
Magnus Hagander a écrit : > Can someone verify if what we have now *even works*? I've been trying > for a while to make sure that works, but I can't make it :-( > > I configured my browser to prefer French, but I still only get served > the English pages. This is both from www and wwwmaster. The only page I > know that's actually translated is the presskit, available at > http://www.postgresql.org/about/press/presskit82.html. > It doesn't work for me. -- Guillaume. <!-- http://abs.traduc.org/ http://lfs.traduc.org/ http://docs.postgresqlfr.org/ -->
Alexey Borzov schrieb: > Hi, > > Magnus Hagander wrote: >> Can someone verify if what we have now *even works*? I've been trying >> for a while to make sure that works, but I can't make it :-( >> >> I configured my browser to prefer French, but I still only get served >> the English pages. This is both from www and wwwmaster. The only page I >> know that's actually translated is the presskit, available at >> http://www.postgresql.org/about/press/presskit82.html. >> >> Can someone confirm if this thing *ever* shows up translated based on >> the language in the browser? (I know there are direct links to the >> translated version, that's something completely different. I'm talking >> about the automatically-show-the-correct-language stuff) > > I confirm that it displays in Russian for me, *if* you access it as > http://www.postgresql.org/about/press/presskit82 > > If you access that as > http://www.postgresql.org/about/press/presskit82.html then content > negotiation is not performed. See the docs for Apache: > http://httpd.apache.org/docs/1.3/content-negotiation.html Well you could just name the files: file.html.en, file.html.fr, .. instead of file.en.html and so on. But otoh, link to the unqualified resource looks better anyway :-) (e.g. just "file") Regards Tino
Alexey Borzov schrieb: ... > I confirm that it displays in Russian for me, *if* you access it as > http://www.postgresql.org/about/press/presskit82 > > If you access that as > http://www.postgresql.org/about/press/presskit82.html then content > negotiation is not performed. See the docs for Apache: > http://httpd.apache.org/docs/1.3/content-negotiation.html Ah, just to add: http://www.postgresql.org/layout/images/hdr_right.png should equally addressed in pages as http://www.postgresql.org/layout/images/hdr_right instead to be able to translate it too. Regards Tino