Using Bootstrap_package extension for a custom multi language site.
Custom setup of template is needed to override the Global config harcoded into "EXT:bootstrap_package/Configuration/TypoScript" lines 2708-2726 coherently with language configuration.
In addition to this the file "EXT:bootstrap_package/Resources/Private/Partials/Page/Navigation/Language.html"
has hardcoded languages name in it.
Could you fix Language.html at least to use either the custom template setup or the typo3 languages config for the website?
Steps to Reproduce
- Create a web site
- Add some languages
- enable the languages via constant: page.theme.language.languageValue = 0,4,2
- Configure Template setup accordingly:
LANGUAGE CONDITIONS
#############################
[globalVar = GP:L = 4]
config {
sys_language_uid = 4
language = it
locale_all = it_IT.UTF-8
htmlTag_setParams = lang="it" dir="ltr" class="no-js"
}
[global]
[globalVar = GP:L = 2]
config {
sys_language_uid = 2
language = de
locale_all = de_DE.UTF-8
htmlTag_setParams = lang="de" dir="ltr" class="no-js"
}
[global]
5. Browse the site
Expected behavior: [What you expected to happen]
The language menu shuold give: English, Italian, Deutsch
Actual behavior: [What actually happened]
The language menu gives: English, English, Deutsch
If I click on a link it works fine.
Versions
Typo3: 8.7.11
Bootstrap_Package: 9.1.0
Using Bootstrap_package extension for a custom multi language site.
Custom setup of template is needed to override the Global config harcoded into "EXT:bootstrap_package/Configuration/TypoScript" lines 2708-2726 coherently with language configuration.
In addition to this the file "EXT:bootstrap_package/Resources/Private/Partials/Page/Navigation/Language.html"
has hardcoded languages name in it.
Could you fix Language.html at least to use either the custom template setup or the typo3 languages config for the website?
Steps to Reproduce
LANGUAGE CONDITIONS
#############################
[globalVar = GP:L = 4]
config {
sys_language_uid = 4
language = it
locale_all = it_IT.UTF-8
htmlTag_setParams = lang="it" dir="ltr" class="no-js"
}
[global]
[globalVar = GP:L = 2]
config {
sys_language_uid = 2
language = de
locale_all = de_DE.UTF-8
htmlTag_setParams = lang="de" dir="ltr" class="no-js"
}
[global]
5. Browse the site
Expected behavior: [What you expected to happen]
The language menu shuold give: English, Italian, Deutsch
Actual behavior: [What actually happened]
The language menu gives: English, English, Deutsch
If I click on a link it works fine.
Versions
Typo3: 8.7.11
Bootstrap_Package: 9.1.0