Repository navigation
chore(translations): order units the same as the English catalogues - #3812
Merged
Merged
Conversation
Reorder the units in every locale file to follow the order of the matching English file. Units without an English counterpart are kept and moved to the end of the file. Only the position of the units changes; ids, names, sources, targets, states and notes are untouched.
Contributor
There was a problem hiding this comment.
Copilot review overview
馃煝 Approval recommended
The catalogues remain valid XML and the reordered units follow the documented English-source ordering without translation changes.
Review effort: Balanced
Findings: None
What changed in this PR
Reorders 6.2 translation catalogues to match their English counterparts while preserving locale-only units.
Changes:
- Aligns shared translation units with English catalogue order.
- Moves locale-only and duplicate legacy units to catalogue ends without changing translations.
- Preserves Spanish duplicate validator targets and loading behavior.
| File | Description |
|---|---|
translations/鈥媣alidators.zh_CN.xlf |
Reorders validator units. |
translations/鈥媣alidators.hu.xlf |
Reorders shared and locale-only validators. |
translations/鈥媣alidators.es.xlf |
Orders matching IDs and moves duplicate variants last. |
translations/鈥媣alidators.de.xlf |
Aligns validators with English order. |
translations/鈥媠ecurity.de.xlf |
Repositions the custom login message. |
translations/鈥媘essages.zh_CN.xlf |
Moves a locale-only message last. |
translations/鈥媘essages.uk.xlf |
Moves a locale-only message last. |
translations/鈥媘essages.tr.xlf |
Moves a locale-only message last. |
translations/鈥媘essages.ru.xlf |
Aligns message units with English order. |
translations/鈥媘essages.it.xlf |
Moves locale-only messages last. |
translations/鈥媘essages.hu.xlf |
Reorders shared messages and appends extras. |
translations/鈥媘essages.fr.xlf |
Moves the locale-only message last. |
translations/鈥媘essages.el.xlf |
Moves a locale-only message last. |
translations/鈥媘essages.cs.xlf |
Moves a locale-only message last. |
translations/鈥媘essages.bg.xlf |
Aligns shared messages and appends extras. |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
bobvandevijver
approved these changes
Sep 29, 2026
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.
The same changes as were done in #3810, but targeting
6.2 branch(follow up of #3753)Reorders the units in every locale file (
translations/*.xlf) to follow the order of the matching English file (messages.en.xlf,security.en.xlf,validators.en.xlf). This makes the catalogues easier to compare side by side and keeps future diffs aligned across locales.validators.es.xlf), the one whoseidmatches English keeps the English position and the other copy moves to the end. Both copies have identical targets, so which one Symfony loads last doesn't change anything.