Merge known translations between .po files.
Project description
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
Built Distribution
File details
Details for the file pomerge-0.1.0.tar.gz
.
File metadata
- Download URL: pomerge-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae5c124288eda9ab50e70609137929e33ccad26d6489a581ea18e0b404a9aa6 |
|
MD5 | 4da344dfd7443fac0790abb4cd265834 |
|
BLAKE2b-256 | 9576e2fb35153e3802421340aed034c184d17d1b5026c5bd62bd11f0a97d9be1 |
File details
Details for the file pomerge-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pomerge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc6cb26d731188333b68dadcdbd5f6fda9085b16e8f31fd58eef0ded530e6e2 |
|
MD5 | 8b395aed022f5bb160f769d39903c3df |
|
BLAKE2b-256 | 2c529bb58bd3c11f7bfcf2ac8694812bf67fe6774f52c77cfbb5567745d5d021 |