Skip to content

fix(translations): correct srcLang in 7 XLIFF files - #3780

Open
Vondry wants to merge 1 commit into
bolt:6.1from
Vondry:fix/translations-srclang
Open

fix(translations): correct srcLang in 7 XLIFF files#3780
Vondry wants to merge 1 commit into
bolt:6.1from
Vondry:fix/translations-srclang

Conversation

@Vondry

@Vondry Vondry commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follow up of #3753

Changes

Seven translation files declared srcLang identical to trgLang (e.g. srcLang="ru" trgLang="ru"), describing them as monolingual same-language documents. The source side of every unit is English, so the correct value is srcLang="en".

Affected: messages.pl, messages.ru, security.nl, security.ru, validators.nl, validators.pl, validators.ru

This aligns them with the other 34 files and with the output of Symfony's XLIFF 2.0 dumper. No runtime behaviour changes, as Symfony resolves the locale from the filename; the fix matters for translation tooling, which reads these attributes to determine direction.

Seven translation files declared srcLang identical to trgLang
(e.g. srcLang="ru" trgLang="ru"), describing them as monolingual
same-language documents. The source side of every unit is English,
so the correct value is srcLang="en".

Affected: messages.pl, messages.ru, security.nl, security.ru,
validators.nl, validators.pl, validators.ru

This aligns them with the other 34 files and with the output of
Symfony's XLIFF 2.0 dumper. No runtime behaviour changes, as Symfony
resolves the locale from the filename; the fix matters for translation
tooling, which reads these attributes to determine direction.
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.

1 participant