-
Notifications
You must be signed in to change notification settings - Fork 11k
[I18N] *: prepare and clean up translations for Weblate #15853
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
Conversation
|
@dylankiss @ticodoo while this was properly forward-ported, at least one co-dependent PR (odoo/odoo#241580, odoo/enterprise#103006, odoo/design-themes#1203) did not succeed. You will need to fix it before this can be merged. Both this PR and the others will need to be approved via More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
|
@dylankiss @ticodoo this forward port of #15825 is awaiting action (not merged or closed). |
We did the following: - Update the PO files by taking the version from 19.0 and `msgmerge` them with the latest POT file. - Updated the `.weblate.json` file to target the right project. X-original-commit: 1a89c99
7194daa to
49b7c9c
Compare
|
@robodoo r+ |
|
@dylankiss @ticodoo linked pull request(s) odoo/enterprise#103006, odoo/odoo#241580 not ready. Linked PRs are not staged until all of them are ready. |
To prepare the translations for Weblate, we copied over the PO files that are currently in 19.0, to have the most up-to-date translations already there. We then `msgmerge`d the PO files with the POT files. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
In some modules, there were PO files left that didn't contain any translated strings, and weren't in the languages we currently support on Weblate. We deleted these files. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
Some modules still had the `i18n_extra` folder, while it was not needed for their use-case. We remove them here, since the translations are now all in the regular `i18n` folder. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
Localization modules have a fixed list of language codes they support. We are removing all PO files here that don't match that list. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
We delete POT files from l10n modules having no translations, or POT files that were incorrectly named. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
Also msgmerged the PO files with the new version. Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Part-of: #241580 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
closes #241030 closes #241580 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Related: odoo/design-themes#1203 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
We did the following: - Update the POT files. - Update the PO files by taking the version from 19.0 and `msgmerge` them with the latest POT file. - Updated the `.weblate.json` file to target the right project. closes #1203 X-original-commit: 182dbfd Related: odoo/odoo#241580 Related: odoo/enterprise#103006 Related: odoo/documentation#15853 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>
We did the following: - Update the PO files by taking the version from 19.0 and `msgmerge` them with the latest POT file. - Updated the `.weblate.json` file to target the right project. closes #15853 X-original-commit: 1a89c99 Related: odoo/odoo#241580 Related: odoo/enterprise#103006 Related: odoo/design-themes#1203 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Dylan Kiss (dyki) <[email protected]>

We did the following:
msgmergethem with the latest POT file..weblate.jsonfile to target the right project.Related: odoo/odoo#241030
Related: https://github.com/odoo/enterprise/pull/102739
Related: odoo/design-themes#1201
Related: odoo/industry#1460
Forward-Port-Of: #15825