Project

General

Profile

Actions

Bug #101826

closed

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

Added by RVVN no-lastname-given about 1 year ago. Updated 5 months ago.

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

Actions #1

Updated by Georg Ringer 5 months ago


footer is now translated - tested with v13 - - at leat what is currently not hardcoded, closing issue therefore

Actions #2

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF