Skip to content
Snippets Groups Projects
Commit 324c7dcb authored by Jan Delius's avatar Jan Delius Committed by Benjamin Franzke
Browse files

[BUGFIX] Use per-language runtime cache for LanguageService

LanguageService state has been moved into runtime cache
for further reducing the need to keep the LanguageService
in a global state. Failing to predict the need to translate
into multiple languages in the same context and process,
$cacheIdentifier had not be included the language.

This patch adds the current language to the $cacheIndentifier
to support multiple language translation while keeping the
LanguageService state clean.

Resolves: #97009
Related: #94415
Releases: main, 11.5
Change-Id: If1eaa3d2724ccdd12979a974c30d722878eb55d8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73680


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarJan Delius <me@jandelius.eu>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarJan Delius <me@jandelius.eu>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent f6014c94
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment