This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Support for more than one language in websiteDTD
- From: Bob Stayton <bobs at caldera dot com>
- To: "Fischer, Oliver" <plexus at snafu dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 14 Feb 2003 09:21:00 -0800
- Subject: Re: DOCBOOK-APPS: Support for more than one language in websiteDTD
- References: <3E4CC673.5000306@snafu.de>
On Fri, Feb 14, 2003 at 11:35:31AM +0100, Fischer, Oliver wrote:
> Hello,
>
> I would like to have my website in enlisch and german. Within the
> pages, I can set the lang property. But is it possible generate
> the pages in such a way, that you can switch from on language to
> another by clicking on a symbol?
>
> I am looking for something like this:
>
> ----------------------------------------------------------------
> | German Englisch
> | menue
> | menue
> | menue content content content content...
> |
> |
> |
I presume you are using the tabular website style.
This requires a small customization. There is a template
named 'home.navhead.upperright' that will put its content
in the upper-right corner of each page. Currently it
just prints the text "Upper-right" to demonstrate
its possibilities. If you instead define that template
in a customization layer to output
<a HREF="english/index.html">English</a> or something,
then you can get what you want.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com