[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-03-31 7:59:59
Message-ID: 200703311001.59759.dhdev () gmx ! de
[Download RAW message or body]
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.
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