Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support msgmerge many POT files to update PO files #6210

Open
truong-hua opened this issue Jun 20, 2021 · 1 comment
Open

Support msgmerge many POT files to update PO files #6210

truong-hua opened this issue Jun 20, 2021 · 1 comment
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.

Comments

@truong-hua
Copy link
Contributor

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 use xgettext but I tried and it frequently crashes), and then doing msgmerge

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.

@nijel nijel added enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship. labels Jun 21, 2021
@nijel nijel added this to Add-ons Jul 1, 2024
@github-project-automation github-project-automation bot moved this to To do in Add-ons Jul 1, 2024
@keunes
Copy link
Contributor

keunes commented Oct 6, 2024

Maybe less relevant now that components/projects can be nested? #9731
(And, I think, addressing #11198 in one way or another could still improve this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.
Projects
Status: To do
Development

No branches or pull requests

3 participants