[FEATURE] Allow multiple locales for config.locale_all 58/47458/3
authorBenni Mack <benni@typo3.org>
Thu, 31 Mar 2016 11:16:26 +0000 (13:16 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 31 Mar 2016 15:48:32 +0000 (17:48 +0200)
commit4ea36d5bb2d8e221b49ab4fde22a7e5adb7101d2
treeebec0e3d51e3489e038cfa3ff783ba01c8da62e6
parent70b75d2099486a925548f7a2dd3264ad6e23a569
[FEATURE] Allow multiple locales for config.locale_all

The PHP function setlocale() allows to define multiple locales
as fallbacks when the first locale is not available in the system.

The TypoScript option config.locale_all now allows a
comma-separated list of locales which are thrown
into setlocale() as additional parameters to use fallback options.

Resolves: #39597
Releases: master
Change-Id: Ia09564f0fdf82120254598d6d55e9d2d35d8c5f1
Reviewed-on: https://review.typo3.org/47458
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/core/Documentation/Changelog/master/Feature-39597-MultipleLocaleNamesForTypoScriptConfiglocale_all.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php