-
Bug
-
Resolution: Fixed
-
Normal
-
Bug fixes, 2012-05-28
-
None
The server by default sets the xml:lang and lang attributes of the <html> element to the the value of $ENV
{LANGUAGE}. The LANGUAGE environment variable contains a colon separated list of POSIX locales. The xml:lang and lang attributes contain a BCP47 language code (aka an IETF language tag).
It isn't clear to me how different POSIX and BCP47 language codes are, but xml:lang and lang certainly do not allow a colon separated list. Considering that usually the user running the server is not the user interacting with the software, I think the musicbrainz server should ignore the LANGUAGE environment variable set by the user entirely.