[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: lang attribute in websites
On Tue, Aug 13, 2002 at 12:28:42PM +0200, Peter Kullmann wrote:
> Hi,
>
> I'm using the website.dtd and stylesheets for some time now. The one thing I
> haven't been able to figure out is: Where can I put the lang attribute. All
> my websites are in German and I'd like to have gentext stuff in German.
>
> Apparently, there is no stylesheet parameter "language" and starting a page
> with <webpage lang="de"> does not validate.
>
> Any ideas?
Well, there is a secret parameter named
'l10n.gentext.default.language' that is declared in the
common/l10n.xsl stylesheet module. When processing DocBook
documents, if you set that parameter to "de" then you get 'Kapitel 1'
instead of 'Chapter 1', etc.. I haven't tried it in website, but
I assume it would work since website imports the docbook
stylesheet.
I say 'secret' because it hasn't been documented, but it
probably should be.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC