[josm-dev] Wanted: Plugin Translation With Launchpad HowTo

Dirk Stöcker openstreetmap at dstoecker.de
Fri Dec 20 09:01:06 UTC 2013


On Thu, 19 Dec 2013, Holger Mappt wrote:

> 3a) My first idea was to check out that branch.  Then it is easy to update to 
> the latest version of the translations.  But Bazaar is one of those revision 
> control systems where you get the complete repository in your working copy. 
> I stopped the "bzr branch lp:~openstreetmap/josm/josm_trans" operation after 
> 600MB were downloaded.  There is no point in downloading and keeping 
> gigabytes of repository data for just a few translations.

Hmm. I get a 149MB directory when using the tools in i18n.

> This is my translation flow for the PhotoAdjust plugin [7].  It assumes that 
> all translations are done at Launchpad.  The POT and PO files are stored on 
> the directory po:
>
> ant pot
> ./poimport.pl 749
> ./pomerge.pl
> ant lang

All this is already done in the tasks of i18n.

I added a task "singleplugintrans", which does all this only for a single 
plugin.

ant -Dplugin=gpxfilter singleplugintrans

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



More information about the josm-dev mailing list