[josm-dev] New I18N-feature for JOSM webpages

Dirk Stöcker openstreetmap at dstoecker.de
Mon Jan 17 11:00:48 GMT 2011


On Mon, 17 Jan 2011, ce-test, qualified testing bv - Gert Gremmen wrote:

> Probably the help page is so good/complete that it impressed me.
>
> If the help system is just writing wiki pages, I think
> I can assist. Don’t expect more.

Mainly it is as simple as this.

We have different systems (like written on the Translations page):
  - StartupSource and VersionHistory, which are the start messages of JOSM.
    They are wiki pages, but with a special layout (all languages in one
    wiki).
    For Nederlands there are currently 2 strings untranslated in startup
    screen.
  - JOSM program texts are translated using launchpad.
  - All the other wiki pages (including online-help).

The news is that the [[TranslatedPages]] macro with its revision parameter 
allows now to keep track of changes in english page and shows diffs in the 
righthand menu when necessary. It should make work easier not harder :-)

Already the Ukrainian translation used the macro in a form not expected by 
me. He sets "revision=0" for the initial half-translated page (it seems 
common, that translations are done step-by-step with copying the English 
part). When he completed page, he finally sets correct revision. Due to 
the revision=0 he has the partial page with yellow "needs update" state in 
the overview and he doesn't forget the missing texts :-)

Note, that I'm the author of all these scripts. For me everything is 
obvious. So when further explanation is required, don't hesitate to ask 
or add these to the "Translations" page.

I also correct errors, so when you have a look at the timeline of wiki 
changes you can see whenever you did something wrong (like wrong page 
names, missing macros, wrong links, ... :-)

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


More information about the josm-dev mailing list