Actions
Bug #95770
openSite configuration language fallback wrong labels from xml/xlf
Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2021-10-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
language translation fallback
Complexity:
hard
Is Regression:
Sprint Focus:
Needs Decision
Description
If you use the site-configuration with fallback type "fallback", the wrong labels from xml/xliff files will be displayed.
Example:
TYPO3 default language is german id 0, english is id 1.
Fallback type is "fallback"
Fallback language is "Default language [0]"
XML/xliff files have english in "default" and german in "de" section.
With this site configuration I expect german labels to be displayed, but english labels will.
I guess method "initializeLocalization()" \TYPO3\CMS\Extbase\Utility\LocalizationUtility does not resepect the fallback settings in site configuration.
Tried to learn about and fix it, but to hard for me...
What I can do is extend \TYPO3\CMS\Extbase\Utility\LocalizationUtility and do a workaround.
Updated by Georg Ringer about 3 years ago
- Assignee deleted (
Tymoteusz Motylewski)
Updated by Georg Ringer about 3 years ago
- Subject changed from Site configuration language fallback wrong labels from xml/xlt to Site configuration language fallback wrong labels from xml/xlf
Updated by Astrid Haubold about 1 year ago
- Related to Story #101566: Extbase related translation issues added
Actions