Setting: 7 System Lanaguages An editor page which is entirely German (no language switcher). However part of the page is a preview screen where the editor ought to see the edited content already translated into the respective System Language.
Is there a way I can give JText::_('TRANSLATE_STRING')
a parameter which determines the target language of the translation?
Is there another function which gives easy access to the translation?
Or can I change the current language of the Session programatically?
I am a little lost on the documentations I find online and stuck without the right ideas or terms to research.