Skip to content

chore(translations): order units the same as the English catalogues - #3812

Merged
bobvandevijver merged 1 commit into
bolt:6.2from
Vondry:chore/translation-order-6.2
Sep 29, 2026
Merged

bobvandevijver merged 1 commit into
bolt:6.2from
Vondry:chore/translation-order-6.2

Conversation

@Vondry

@Vondry Vondry commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Units that don't exist in the English file are kept and moved to the end of the file.
  • Where a locale has two units with the same key (the long messages in validators.es.xlf), the one whose id matches 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.
  • Nothing was removed, added or edited - only moved. Every file contains exactly the same lines as before, in a different order.

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
bobvandevijver merged commit 9f51da7 into bolt:6.2 Sep 29, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants