Skip to content

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

Merged
bobvandevijver merged 1 commit into
bolt:6.1from
Vondry:fix/translations-srclang
Aug 13, 2026
Merged

fix(translations): correct srcLang in 7 XLIFF files#3780
bobvandevijver merged 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.
@bobvandevijver bobvandevijver added this to the Bolt 6.1 milestone Aug 13, 2026
@bobvandevijver bobvandevijver added the topic: Multilingual 馃寪 Language, i10n, i18n, translations label Aug 13, 2026
@bobvandevijver

Copy link
Copy Markdown
Member

Thank you @Vondry!

@bobvandevijver
bobvandevijver merged commit 3a499d7 into bolt:6.1 Aug 13, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: Multilingual 馃寪 Language, i10n, i18n, translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants