Bug #87946

Wrong translation on multilanguage page in plugins

Added by R3 H6 about 1 month ago.

Status:
New
Priority:
Must have
Category:
Extbase + l10n
Target version:
-
Start date:
2019-03-18
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Scenario:
Multidomain/Multilanguage installation:

+ Site A [de, fr, it]
+ Site B [fr]

Sylanguages:
- de: 0
- fr: 1
- it: 2

Sites are setup with site module.

On Site A, German is setup as default language.
On Site B, French is setup as default language.

Any Extbase plugin on Site B displays translated labels in German. Labels are translated with fluid viewhelper.

The problem is, that on Site B, the property "typo3Language" is "de" on the object SiteLanguage.
The Extbase LocalizationUtility is using this property, better would be twoLetterIsoCode.

Also available in: Atom PDF