[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: what is needed to support other charsets in wml?

On Sun, Dec 27, 1998 at 05:49:46PM +0100, Rafael Cordones Marcos wrote:
> I am sorry I do not know the answer to your question but I was
> wondering if wml sources for the Debian website are available as they
> are in different languages and I could learn A LOT from them. Thanks
> in advance.
The source for the portion of the Debian web site that is created using
wml can be retrieved using CVS. It can not be reached using the web as
the html is generated in another directory. This is done because the
web site is mirrored (no point in wasting bandwidth).

You can get a copy of the repository using the following commands
(requires that CVS be installed):

  cvs -d :pserver:anonymous@cvs.debian.org:/cvs/webwml login
just hit <return> for the password
  cvs -d :pserver:anonymous@cvs.debian.org:/cvs/webwml checkout webwml/english

Different directories were used for each language to allow translations to
diverge a bit (you can get all the languages by removing 'english' from
the line above).  Having the translations diverge is not a good thing, but
unavoidable when everyone is a volunteer. If you are in a position to make
sure translations are relatively current then I suggest you put everything
together and use slices where possible.

The one mistake I made was in having each language use their own templates
(which are translated from the english originals). This is a bad idea as
it makes it difficult to make changes that affect all the pages. As soon
as the italian translation updates to use the current templates this will
be remedied.

Actually, there is another minor problem. The extension .html.<lang> was
used instead of <lang>.html . Use <lang>.html as it allows apache to
get the mime type correct on a file. I plan on switching when the Italian
translation gets its act together.

Hope this helps.

Jay Treacy
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com