[josm-dev] Wanted: Plugin Translation With Launchpad HowTo
Dirk Stöcker
openstreetmap at dstoecker.de
Tue Dec 24 12:12:34 UTC 2013
On Mon, 23 Dec 2013, Holger Mappt wrote:
> It's amazing how much details there are. I will look into the MANIFEST
> translation update. What do you mean with "automatic changes to the
> build.xml"? The file build.xml is changed automatically or something should
> be added to build.xml that changes the MANIFEST?
The build.xml generates the manifest. To add translations to the manifest,
the build.xml file must be changed to add or remove these lines. That is
not so easy, as the build.xml files still do not follow a common style
(although we try to unify them).
> * Translations for plugin description are extracted from PO files and
> added to plugin MANIFEST.
No. This is not done. The server adds these texts to the downloadable
manifest extract, but the manifests itself don't contain these (yet).
It is easier to add the translations to JOSM core .lang files. :-)
While placing them in the manifest would actually be the PROPER way I
never really found the energy to do so, as there is no real benefit.
Situation is different for non-SVN plugins though. These usually have only
the manifest to supply translation (OTOH they are hardly translated at
all).
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list