[BUGFIX] Allow user defined locales to work with TSFE->sL() 85/25685/2
authorReinhard Führicht <rf@typoheads.at>
Tue, 26 Nov 2013 10:30:40 +0000 (11:30 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 1 Apr 2014 08:25:03 +0000 (10:25 +0200)
commit28c66c57fcefb9df9ffe0c0a4bb8f310243d7e9b
tree3f635204c94219c6d1bb0fcaacdb1db9e318d970
parent9bf671e05979d95cb2f6bf573d850c84e7cac20f
[BUGFIX] Allow user defined locales to work with TSFE->sL()

TYPO3 uses a list of "known" languages defined in
TYPO3\CMS\Core\Localization\Locales.

This list can be extended by the user, but these changes
are not taken into account when using
$GLOBALS['TSFE']->sL() to fetch the translation.

Make TypoScriptFrontendController call the needed method
"initialize()" to make it work.

Resolves: #53973
Releases: 6.2, 6.1
Change-Id: I9fc80ba976bf796f272591ac741d8bf4e92cbeb3
Reviewed-on: https://review.typo3.org/25685
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php