lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird behaviour of automatic language selection


From: Federico Bruni
Subject: Re: weird behaviour of automatic language selection
Date: Wed, 20 Apr 2016 16:19:02 +0200

Il giorno mar 19 apr 2016 alle 18:44, Federico Bruni <address@hidden> ha scritto:
Hi all

I'm testing the lilypond website on the web root of my local Apache installation. I've noticed that _on the same browser_ I get different languages on my localhost:

http://lilypond.org/manuals (italian, correct) - all the other URLs serve correctly italian pages

http://localhost/manuals (nederland, incorrect) - some other pages are served in english (e.g. download/ and introduction/), but others are served again in nederland (e.g. features/)

Strange indeed.
Do you have any idea of why it happens? Perhaps I miss some configuration on my Apache installation?

Before studying Apache content negotiation, let's see if I can get some help quickly :)


Adding this line to .htaccess fixes the problem:
AddLanguage it .it

In our .htaccess we have only this line:

# fix broken auto language selection for Hungarian
AddLanguage hu .hu

This makes me guess that on the server all the languages (except hungarian) are defined in another Apache config file. This would explain why lilypond.org is not affected by this bug.

I suggest adding the other languages (besides hungarian) in our .htaccess so we can test the website locally.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]