Files
picard/po/README.md
Frederik “Freso” S. Olesen 11a375584c Follow-up to OTHER-242: Update GitHub URL.
Picard's source repository has moved from @musicbrainz to @metabrainz on
GitHub.
2016-03-02 16:15:15 +01:00

1.7 KiB

Translations

Picard translations are handled by Transifex.

Please do not manually edit the PO files.

Required tools

Picard source tree strings

Their translations are handled at https://www.transifex.com/projects/p/musicbrainz/resource/picard/

One can update picard.pot using:

$ python setup.py regen_pot_file

Transifex will automatically pick picard.pot from Picard git repository master branch once per day.

picard/countries.py strings

Their translations are handled at https://www.transifex.com/projects/p/musicbrainz/resource/countries/

countries.pot is updated by musicbrainz-server project, outside the Picard project.

Picard maintainers can regenerate picard/countries.py, which is using countries.pot as base, using the command:

$ python setup.py update_countries

It will retrieve and parse latest countries.pot to rebuild picard/countries.py.

To fetch latest translations from Transifex

Use the following command:

$ python setup.py get_po_files

It will fetch all po files from Transifex, but the most incomplete ones.

The minimum acceptable percentage of a translation in order to download it can be seen using:

$ python setup.py get_po_files --help

The percentage value is passed to the tx pull command.