Subject: Re: xml'izing + translating Ports
To: Simas Mockevicius <symka@netbsd.vejas.lt>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: netbsd-docs
Date: 03/25/2004 12:34:22
On Thu, 25 Mar 2004 13:28:11 +0200
Simas Mockevicius <symka@netbsd.vejas.lt> wrote:

> <webpage id="netbsd-i386" portpage="i386" info="NetBSD/i386 Information" lang="lt">
> and then we need to work with `ancestor's and so on.
> 
> it is only one example, and I think in diferent languages there will be more problems
> about that.
> 
> Maybe someone of us, can share thoughts about that?
> How we can simple/fast/and especialy - Clean!, to do that
> magic, and everybody would be happy?

The easiest I can think of is adding some more tags.  Say, for example:

<infosect port="i386">
   ...
</infosect>

And then define a custom <infosect> for each language that outputs the right
title.  (Same for all other things needed).

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/