Re: Problems with the language
Melanie Rösch <[email protected]> Thu, 17 Jun 2004 08:25:55 +0200
| Newsgroups | gmane.text.docbook.db2latex.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, the tip with <book lang="en"> works fine. Thank you for your help. Regards Melanie Rösch James Devenish schrieb: >Hi, > >In message <[email protected]> >on Wed, Jun 16, 2004 at 03:14:32PM +0200, Melanie R?sch wrote: > > >>I have the following problem. >>My documentation is in english, and in my >>customization-file I add the following: >> <xsl:variable name="latex.use.babel">1</xsl:variable> >> <xsl:variable name="latex.babel.language">english</xsl:variable> >> <xsl:variable name="document.xml.language">en</xsl:variable> >> >>But if I generate pdf then the "legal notice"-text and the text of >>"warning, tip, ..." are in frensh. >> >> > >Hmm...I am not quite sure why $document.xml.language is not having the >desired effect (I suspect it is to do with changes in the DocBook l10n >files that we use -- I have overlooked something). I suggest that the >best course of action is to remove all those three xsl:variables and >instead put lang="en" (or xml:lang="en") into your DocBook source file. >For instance, replace <book> with <book lang="en"> (or <article> with ><article lang="en"). You can also use locale specifications such as >"en_US", "en_GB", "en_CA", "en_AU", etc. If you cannot modify your >source (XML) files, I will investigate further. If lang="en" works for >you, I will update our documentation accordingly. > > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >DB2LaTeX-apps mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/db2latex-apps > > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND