[Flow] Change default locale at runtime
David Sporer
david.sporer at gmail.com
Thu Jun 12 17:39:37 CEST 2014
Hi Christian,
yep there is a way:
e.g.
/**
* @Flow\Inject
* @var \TYPO3\Flow\I18n\Service
*/
protected $languageService;
$this->languageService->getConfiguration()->setCurrentLocale(new
\TYPO3\Flow\I18n\Locale('de'));
2014-06-12 15:44 GMT+02:00 Christian Loock <chl at vkf-renzel.de>:
> Hello,
>
> is there a way to change the default locale for i18n during runtime? I
> know I can set it in the config, but what if I want to change it for a user
> at runtime?
>
> Cheers
>
> --
> Christian Loock
> Web Developer
> Renzel Agentur
> www.renzel-agentur.de
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
More information about the Flow
mailing list