Picard translations are handled by Transifex.
Please do not manually edit the PO files.
Their translations are handled at https://www.transifex.com/musicbrainz/musicbrainz/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.
Their translations are handled at https://www.transifex.com/musicbrainz/musicbrainz/attributes/ and https://www.transifex.com/musicbrainz/musicbrainz/countries/
attributes.pot
and countries.pot
are updated by musicbrainz-server project, outside the Picard project.
Picard maintainers can regenerate picard/const/attributes.py
and picard/const/countries.py
, which are using attributes.pot
and countries.pot
as base, using the command:
$ python setup.py update_constants
It will retrieve and parse latest attributes.pot
and countries.pot
to rebuild picard/const/attributes.py
and picard/const/countries.py
.
Use the following command:
$ python setup.py pull_translations
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 pull_translations --help
The percentage value is passed to the tx pull
command.