Actions
Bug #101826
closedCopyright notice in SystemEmail footer not translated for backend password reset request
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-09-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
when I use the password reset feature for backend user, the copyright notice in email footer is not translated.
The equivalent feature for felogin (forgot password) is working.
After digging, I found that LanguageService::readLLfile() merge the default language into the translated language (in my case, "default" is merge into "fr") at this point :
if ($this->lang !== 'default' && isset($tempLL[$language])) {
// Merge current language labels onto labels from previous language
// This way we have a labels with fall back applied
ArrayUtility::mergeRecursiveWithOverrule($localLanguage[$this->lang], $tempLL[$language], true, false);
}
I admit that I have not a good understanding of the comment and why this is done for fall back, but if I change the condition test as following, the copyright notice is translated.
if ($language !== 'default' && isset($tempLL[$language])) {
Files
Updated by Georg Ringer 5 months ago
- File Bildschirmfoto 2024-06-18 um 22.15.25.png Bildschirmfoto 2024-06-18 um 22.15.25.png added
- Status changed from New to Resolved
footer is now translated - tested with v13 - - at leat what is currently not hardcoded, closing issue therefore
Actions