Repository navigation
fix(i18n): give Portuguese Crowdin exports distinct paths - #978
Merged
boidushya merged 2 commits intoOct 7, 2026
Merged
Conversation
boidushya
approved these changes
Oct 7, 2026
boidushya
left a comment
Member
There was a problem hiding this comment.
LGTM!
@all-contributors pls add @snowyukitty for code
Member
|
@all-contributors please add @snowyukitty for code |
Contributor
|
I've put up a pull request to add @snowyukitty! 🎉 |
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
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.
Description
Both Portuguese languages resolve
%two_letters_code%topt, so one Crowdin export overwrites the other. Addpt-PT: pt_PTandpt-BR: pt_BRalongside the existing Chinese mappings.This changes only the export configuration. Checked-in catalogs, generated locale codes and saved UI-language settings are unchanged. Removing
_locales/ptand handling savedptsettings require a separate manual follow-up when the new catalogs are reviewed.In the latest Git-exported snapshots, 614 of 633 Portuguese messages match Brazilian Portuguese, and the other 19 are English. None of those differing messages is a distinct Portuguese translation. This implements the two-language mapping option in #962; removing pt-PT from the Crowdin project remains the maintainer's alternative if only one language is wanted.
Type of change
Related Issue
Refs #962.
Validation
On Node.js 22.23.1 in a network-isolated Linux container:
yamlpackage: the Portuguese destinations differ in both sync orders, and existing mappings/configuration remain unchanged. This is a local configuration check; a live Crowdin sync was not run.npm run lintnpm run typechecknpm run selfcheck: all 53 checks passed.npm run build: Chrome, Edge and Firefox builds passed.Checklist