On Tue, Jan 11, 2011 at 10:08:11PM +0100, Ole Tange wrote:
On Tue, Jan 11, 2011 at 6:52 PM, Nicolas JEAN nicoulas@fsfe.org wrote:
On 11/01/2011 15:36, Ole Tange wrote:
On Tue, Jan 11, 2011 at 3:18 PM, Nicolas JEAN nicoulas@fsfe.org wrote:
This way, you just have to point people to http://pdfreaders.org and they will be served with a language-adapted index page. Do you have cases in which this is not sufficient or fit?
I have tried with around 10 different combinations of browsers and systems and only found the English. Maybe it is because the Danish is missing. If you put a dummy Danish page I will be happy to let you know if that in practise solves it.
I have added the said dummy page, it is located at: http://pdfreaders.org/index.da.html For test purpose, the title says "Get a Free Software PDF reader _in Danish_!". Let me know if it works this way.
Iceweasel/3.5.16 (Debian): No Lynx 2.8.8dev.6 (Debian): No Konqueror (Debian): No Chromium 6.0.472.63 (Debian): No Browser (Android): No Firefox 3.6.13 (Windows XP): No Chrome 8.0.552.224 (Windows XP): No
I can try Firefox, Lynx, Konqueror and Chromium on Ubuntu tomorrow, but already I see a clear trend.
Agreed.
Pay attention to Content-Language in the response of this command:
wget -S --spider --header='Accept-Language: de' http://pdfreaders.org
It shows that the site properly switches to german when requested. But
wget -S --spider --header='Accept-Language: da' http://pdfreaders.org
...resolves to serving the english page. Compare that with a site which does handle danish:
wget -S --spider --header='Accept-Language: da' http://dr.jones.dk
- Jonas