[josm-dev] Wanted: Plugin Translation With Launchpad HowTo
Dirk Stöcker
openstreetmap at dstoecker.de
Sun Dec 22 12:19:14 UTC 2013
On Sat, 21 Dec 2013, Holger Mappt wrote:
> The plugin descriptions are part of the official JOSM after the plugin is
> ready and released. But I want to test everything including the translations
> *before* I release the plugin. I copy the development.jar in the JOSM plugin
> directory (~/.josm/plugins) and JOSM extracts some data like the icon. It
> doesn't extract the translation (yet) if the plugin is not installed, but I
You need to supply the translation in MANIFEST to make translation work in
this case as well.
http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins#ThemanifestfileforaJOSMplugin
Note, that actually the entry in the manifest is the only required one.
Text in translation area for core or plugin are a workaround. OTOH the
manifest entry is the only one, which gets not updated, as that would mean
automatic changes to the build.xml and nobody wrote code to do so.
> The plugin list from the JOSM server is the other place that needs the
> translation. That makes me wonder why the JOSM core would need it.
JOSM was there first, server translation came a lot later. And the server
relies on the JOSM translation files currently.
> The JOSM (core) translation tool chain might be clear to an active JOSM
> developer.
It is not :-)
> But it took me several days to figure out all the details and to
> experiment with different options. That's why I started this thread and
> documented my findings. But maybe it's just me who had such an issue. It's
> also my first Java and Launchpad project.
The current setup is not the optimum, so improvements are fine. Asking why
is also fine, as not every change is an improvement.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list