Gubaer / josm-scripting-plugin

Task automation in the OpenStreetMap editor JOSM
https://gubaer.github.io/josm-scripting-plugin
GNU General Public License v3.0
26 stars 9 forks source link

Add l10n to http://gubaer.github.io/josm-scripting-plugin/ #29

Open d1g opened 9 years ago

d1g commented 9 years ago

Currently Russian translation is ready via Transiflex but in order to view it at site you have to include some code before /head> at every page:

more info:

Why tx? transifex.com is used by many OSM projects today and usually we don't want to hop between multiple tranlsation platforms.

d1g commented 9 years ago

Currently portions of source code are not translatable due to http://docs.transifex.com/live/webmasters/#how-phrases-are-detected

Examples:

Simple solution is to exclude //meaningfull comments from pre> blocks (code) into separate p> sections or to use more complex syntax: http://docs.transifex.com/live/webmasters/#fine-tune-translatable-content

d1g commented 8 years ago

@Gubaer, what is your id at transifex.com? it works, https://d1g.github.io/josm-scripting-plugin/doc/scripting.html?lang=en https://d1g.github.io/josm-scripting-plugin/doc/scripting.html?lang=ru

here is what I did in code: https://github.com/d1g/josm-scripting-plugin/commit/8a8b74279a1b6372d1397957ecc8c72365335a3a

PS. I forked just to illustrate idea.