-
Notifications
You must be signed in to change notification settings - Fork 11k
[I18N] *: prepare and clean up translations for Weblate #15825
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
923c4eb to
d49490e
Compare
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.
d49490e to
9d5111b
Compare
Contributor
|
@robodoo r+ |
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
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. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
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. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
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. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
Localization modules have a fixed list of language codes they support. We are removing all PO files here that don't match that list. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
We delete POT files from l10n modules having no translations, or POT files that were incorrectly named. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
Also msgmerged the PO files with the new version. Part-of: #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Dec 29, 2025
closes #241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
to odoo/design-themes
that referenced
this pull request
Dec 29, 2025
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 #1201 Related: odoo/odoo#241030 Related: odoo/enterprise#102739 Related: odoo/documentation#15825 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
robodoo
pushed a commit
that referenced
this pull request
Dec 29, 2025
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 #15825 Related: odoo/odoo#241030 Related: odoo/enterprise#102739 Related: odoo/design-themes#1201 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
This was referenced Dec 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

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