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

ce-test, qualified testing bv - Gert Gremmen g.gremmen at cetest.nl
Mon Jan 17 20:36:41 GMT 2011


>> 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.

Where do I find this macro, and where exactly  should I insert  "(revision=xxx)"

Gert

-----Oorspronkelijk bericht-----
Van: Dirk Stöcker [mailto:openstreetmap at dstoecker.de] 
Verzonden: maandag 17 januari 2011 13:17
Aan: josm-dev at openstreetmap.org
Onderwerp: Re: [josm-dev] New I18N-feature for JOSM webpages

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)


_______________________________________________
josm-dev mailing list
josm-dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev



More information about the josm-dev mailing list