Re: [patch] Fix i18n of releases/ webpages
On Sun, Jul 15, 2001 at 01:44:59PM +0200, Denis Barbier wrote:
> > > As told by Josip, previous patch was inaccurate. Here is a better one.
> > > Note that I renamed %langs to %rellangs for clarity (%langs already
> > > exist in languages.wml) but this change is not mandatory.
> >
> >
> > > --- release.wml 2001/07/03 07:35:22 1.14
> > > +++ release.wml 2001/07/14 21:49:48
> > > @@ -1,6 +1,22 @@
> > > #use wml::std::tags
> > > <perl>
> > > <protect pass=2>
> > > +
> > > +# Available languages for installation manuals
> > > +my %rellangs = ( english => "en",
> > > + czech => "cs",
> > > + german => "de",
> > [...]
> >
> > Oh, darn. I just remembered one thing. We have a variable similar to this
> > already in releases/potato/release.data. I guess it would be good to use
> > that.
>
> Not really, variables defined in this file only tell in which languages
> are Potato manuals translated into. There is no hash variable like
> %langs, and it would be a bad idea to put it there since this
> correspondance is surely not release-dependent, that's why I've put it
> into wml::debian::release.
Take a closer look at wml::debian::release and you'll see it's _highly_
release-dependent already.
I plan on gradually fixing that as woody matures.
--
Digital Electronic Being Intended for Assassination and Nullification
Reply to: