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

Dirk Stöcker openstreetmap at dstoecker.de
Mon Jan 17 12:16:56 GMT 2011


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

> If i click on the "generic help page" (1st line)  NL-version within your status table  I get the on-existing page error.

Yes. This is completely missing.

> So now , how to complete ?
> Do I have macro to copy now , or just cut and paste
> the English version and translate ?
> Change the language code form en to nl ?

Go to the english page, click edit, copy whole text, go to your page, edit 
and paste text. Now start translating.

Add "(revision=xxx)" in TranslatedPages-macro to point to correct revision 
of english page - Add 0 first, press preview and you see the correct 
number.

See other translated pages for references how to do specific things, e.g. 
how to link certain images and the like.

As said lots of translators save partial translated pages (also to be sure 
they don't translate for a long time and then the webbrowser crashs).

Note: You did change StartupPageSource - you also changed text of one of 
the "xnl:"-entries. The x means outdated, so the english string has 
changed and the nl needs to be updated. Afterwards the "x" can be removed. 
There is one xnl: and one missing nl: in this page.

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




More information about the josm-dev mailing list