I am using EXT:cart in my TYPO3 project and building an backend module to create orders from backend. So I am creating the cart object, creating the order object, defining everything that is needed to create the order within backend module. After that some finishers of EXT:cart are used to send the mail, create the invoice, clear the cart and so on – some of these finishers I run also on the backend module after saving the order. E.g. the create PDF invoice finisher and the send mail finisher (to the buyers email address). But this email is in english. How can I define which language get used in the instantiated FE fluid view when fired from a backend module? It's loading the plugins TS Settings but they have nothing to with the used language for sure. The email fluid views get loaded with TYPO3\CMS\Fluid\View\StandaloneView
.
How can I define the used language in fluid views loaded in backend modules / scheduler tasks?
In FE TYPO3\CMS\Fluid\View\StandaloneView
seems to render in the correct language.