Project

General

Profile

Actions

Bug #101826

open

Copyright notice in SystemEmail footer not translated for backend password reset request

Added by RVVN no-lastname-given 8 months ago.

Status:
New
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])) {

No data to display

Actions

Also available in: Atom PDF