tags 682936 + patch thanks I investigated this problem a bit, and based on the content in /usr/share/dblatex/xsl/common/, I believe the correct language code is 'no' for Norwegian Bokmål. Both 'no.xml' and 'nn.xml' are already there, but only lang="nn" work. I tracked down the reason. The 'no' language code is missing in /usr/share/dblatex/xsl/lang.xsl. The following patch make <boot lang="no"> work. Please apply to dblatex, both in squeeze and sid.
--- /usr/share/dblatex/xsl/lang.xsl.orig 2012-08-09 12:36:07.000000000 +0200 +++ /usr/share/dblatex/xsl/lang.xsl 2012-08-09 12:37:21.000000000 +0200 @@ -109,6 +109,7 @@ <xsl:when test="starts-with($lang,'id')">bahasa</xsl:when> <xsl:when test="starts-with($lang,'it')">italian</xsl:when> <xsl:when test="starts-with($lang,'nl')">dutch</xsl:when> + <xsl:when test="starts-with($lang,'no')">norsk</xsl:when> <xsl:when test="starts-with($lang,'nn')">norsk</xsl:when> <xsl:when test="starts-with($lang,'pl')">polish</xsl:when> <xsl:when test="starts-with($lang,'pt')"> It would be nice if the 'nb' language code could be made to work too, as it is the modern and more correct code for Norwegian Bokmål. 'no' is Norwegian, which split into nb (Bokmål) and nn (Nynorsk), and thus the people using Nynorsk tend to complain when 'no' is taken to mean Bokmål. I guess for that to work, lang.xsl need to be updated and a file nb.xsl need to be placed in /usr/share/dblatex/xsl/common/. A topic for another bug report, I believe :) -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org