Actions
Bug #91721
closedstdWrap.lang does not support fallbacks of custom languages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
Start date:
2020-06-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Internationalization/ManagingTranslations.html#custom-languages mentions how to use custom languages.
Here i define that de_AT should fallback to de, if no label is available in de_AT:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['dependencies']['de_AT'] = ['de'];
This works pretty well for language files, but the functionality is still missing in stdwrap_lang. Given i visit the page in de_AT with
page.30 = TEXT page.30.value = EN page.30.lang.de = DE #page.30.lang.de_AT = DE AT
I except to see DE, but i see EN.
Actions