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

[53584] Fix Portuguese languages mapping #15072

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

cbliard
Copy link
Member

@cbliard cbliard commented Mar 21, 2024

https://community.openproject.org/wp/53584
https://community.openproject.org/wp/53586

When making Portuguese Brazilian and Portuguese Portugal translations apart from each other in https://community.openproject.org/wp/53374, we missed that the root key in the pt-BR.yml and pt-PT.yml files is still pt. The backend is gracefully falling back to the pt translations but the frontend just fails to translate and falls back to the English strings, leading to mixed English and Portuguese in the user interface.

A script fixes the root key in the pt-BR.yml and pt-PT.yml files. This script is executed each time the translations are updated from crowdin.

https://community.openproject.org/wp/53584
https://community.openproject.org/wp/53586

When making Portuguese Brazilian and Portuguese Portugal translations
apart from each other in https://community.openproject.org/wp/53374, we
missed that the root key in the `pt-BR.yml` and `pt-PT.yml` files is
still `pt`. The backend is gracefully falling back to the `pt`
translations but the frontend just fails to translate and falls back to
the English strings, leading to mixed English and Portuguese in the user
interface.

A script fixes the root key in the `pt-BR.yml` and `pt-PT.yml` files.
This script is executed each time the translations are updated from
crowdin.
@cbliard cbliard merged commit a9fe3eb into release/13.4 Mar 21, 2024
4 checks passed
@cbliard cbliard deleted the bug/53584-fix-pt-br-and-pt-pt-translations branch March 21, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants