Skip to main content

Merge known translations between .po files.

Project description

https://img.shields.io/pypi/v/pomerge.svg

Script to merge translations from a set of po files to other set of po files.

Usage

To merge translations from contributors to your files:

pomerge --from ../contributors/*.po ../contributors/**/*.po --to *.po **/*.po

To merge translations from inside a single repository, usefull when simple strings can appear in multiple .po files:

pomerge --from *.po **.*.po --to *.po **/*.po

Note that pomerge does not care about po file names, a translation from one file can land in another as long as their msgid are identical.

The style in your .po files may change a lot, completly destroying the readability of git diffs, to fix this I use poindent.

  • Free software: MIT license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pomerge-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pomerge-0.1.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page