source: osm/applications/editors/josm/i18n/README.TXT@ 36027

Last change on this file since 36027 was 35512, checked in by stoecker, 4 years ago

add a traget to extract pot file for a single plugin

File size: 1.8 KB
Line 
1How to use:
2
3Prerequisites:
4a) You must have installed ant, perl, libwww-perl, libterm-readkey-perl, gettext, bzr, libxml2-utils
5b) You must register your SSH key with Launchpad. See https://launchpad.net/people/+me
6c) You must inform bzr of your Launchpad ID. See "bzr help launchpad-login".
7
8Tasks:
91) Get new translation catalog file:
10Call "ant pot"
11Afterwards the new file should be uploaded to Launchpad (see (5) below)
12
132) Update translations to current state (from daily updated Bazaar repository):
14Call "ant update" or "ant updatecore" when plugins are unwanted
15NOTE: The Bazaar repository is updated once a day. For most recent data try (6) and (3) instead.
16
173) Update translations from Launchpad download file:
18Call "./launchpad.pl <url>", where <url> is the supplied URL from launchpad.
19This call always builds core and plugins, but safely can be aborted after core is completed.
20
214) Check whether translations have string errors (e.g. wrong ' count or illegal {})
22Translation data (.po) must exist!
23Call "ant test".
24
255) Upload POT file to launchpad:
26Call "./launchpad.pl upload". You need to set login information (see file how to do) or enter them when running.
27Can also be issued by hand on the Launchpad web page.
28
296) Request launchpad po file download:
30Call "./launchpad.pl download". You need to set login information (see file how to do) or enter them when running.
31Can also be issued by hand on the Launchpad web page.
32After some time a mail is sent with a URL. With this URL step (3) can be done.
33
347) Build a single plugin:
35Call "ant -Dplugin=name singleplugintrans"
36To get a pot file for a single plugin call "ant -Dplugin=name singlepluginpot"
37
38NOTE:
39a) Your repositories should not have any local modifications which modify string elements!
40b) Always do an "svn up" for core and plugins before starting!
Note: See TracBrowser for help on using the repository browser.