[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-www
Subject:    Re: translation extension? (was: Re: techbase wiki question)
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2007-04-03 21:29:50
Message-ID: 200704032329.50533.dhdev () gmx ! de
[Download RAW message or body]

On Saturday 31 March 2007, Stefan Monov wrote:
> On Saturday 31 March 2007 11:01:59 am Dominik Haumann wrote:
> > On Saturday 31 March 2007, Stefan Monov wrote:
> > > > Thinking more about it, it would be easy to write a small mediawiki
> > > > extension which generates the language bar automatically. The usage
> > > > would be something like
> > > >   <translate lang="de,fr" />
> > > > The extension itself would then generate links to the page/de and
> > > > page/fr (or _(de), _(fr)). If included in a translated page (e.g.
> > > > _(de)) it could replace the last characters of the link with the
> > > > right languages or none for the english version. Much better than
> > > > hand-writing a translation template for every single page manually.
> > > >
> > > > Thoughts? :)
> > >
> > > Might as well do a template used like so:
> > > {{tr|de}}
> > > {{tr|fr}}
> > > no need for coding :D
> >
> > if you are in the page Bla_(de) and you add {{tr|fr}} there, how does
> > it replace the _(de) by _(fr)? If that is possible in mediawiki syntax
> > (probably parser extension) then it of course works without an
> > extension.
>
> I guess you're right.
> A <translate lang="de,fr"> extension is pretty much the right thing to
> do.

I'll implement that then (next week).

Dominik
_______________________________________________
kde-www mailing list
kde-www@kde.org
https://mail.kde.org/mailman/listinfo/kde-www
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic