Project

General

Profile

Actions

Bug #81834

closed

Switch language in action

Added by Daniel Nemanic over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2017-07-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I use TYPO3 8.7.3 and my own extension. So far, I was able to use the

$GLOBALS['TSFE']->config['config']['language']
variable to switch in extbase to another language. This is actually not possible. Is there a new way to switch between languages in the action of a controller? Important for me to create Mails and PDF throw:
\TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate

BR

Daniel


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #82354: Add possibility to get a label in a specific language in LocalizationUtility::translate()ClosedMarkus Hölzle2017-09-07

Actions
Actions

Also available in: Atom PDF