Issue Bug Closed

#104064English is always taken as default xlf language

Nicole Hummel 06/11/24, 21:30 updated 07/24/24, 13:09

Description

Given:

- a site configuration having an German and English language
- an Extension providing German labels as default in locallang.xlf and English labels in en.locallang.xlf file

Expected:

- labels on an English page are shown in English

Actual:

- labels on the English page are shown in German

This scenario worked fine before TYPO3 12. It’s maybe related to the patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/77558 where the English locale “en” is hardcoded as “default” language (https://review.typo3.org/c/Packages/TYPO3.CMS/+/77558/8/typo3/sysext/core/Classes/Localization/LanguageService.php#323). If those lines are removed, everything works as expected.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.