Bug #87712
closed
stdWrap.lang does not use Site Handling
Added by Benni Mack over 5 years ago.
Updated over 5 years ago.
Category:
Site Handling, Site Sets & Routing
Description
If you do
10 = TEXT
10.value = English
10.lang.de = German
this does not work, as this still relies on ugly TypoScript settings.
- Status changed from New to Under Review
Hi Benni,
your Patch ist not working with this example:
10 = TEXT
10.value = german
10.lang.en = english
In your patch you use
$currentLanguageCode = $siteLanguage->getTypo3Language();
but for "en" this code give back "default"
maybe you can use
"$siteLanguage->getTwoLetterIsoCode()"
?
Best Regards
Sven
hey Sven,
good question. Before, this TypoScript option was set to config.language = default (= loading XLF files with "default" language), so config.language = en was wrong actually as "en" never existed, so it "fell back" to default.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
- Related to Bug #91721: stdWrap.lang does not support fallbacks of custom languages added
Also available in: Atom
PDF