Support msgmerge many POT files to update PO files #6210
Labels
enhancement
Adding or requesting a new feature.
undecided
These features might not be implemented. Can be prioritized by sponsorship.
In gitflow or some other development flow, we usually have many separated environment and each environment will generate different .pot files. Current Weblate design requires us to do merging all .pot files of all environment to a single all.pot file externally. Besides, I don't think that having separated Weblate component per environment is a good way because it make translators operation more complicated.
Describe the solution you'd like
Support wildcard pattern for add-on Update PO files to match POT (msgmerge) and the add-on will do concatenating all .pot files by
msgcat
first (document suggest to usexgettext
but I tried and it frequently crashes), and then doingmsgmerge
Describe alternatives you've considered
Doing concatenating all pot files somewhere outside before pushing to Weblate.
Benefits
The configuration of Weblate for multi environment project will be easier and prevent mistaken from confliction of single pot file in different environments.
The text was updated successfully, but these errors were encountered: