diff --git a/typo3/sysext/core/Classes/Routing/Aspect/StaticValueMapper.php b/typo3/sysext/core/Classes/Routing/Aspect/StaticValueMapper.php index adad341d2f96ae11c42a7dac504b50c5a8b607a3..2c96dd68672e5b7ce8f89d24f1f4edec84fab2b7 100644 --- a/typo3/sysext/core/Classes/Routing/Aspect/StaticValueMapper.php +++ b/typo3/sysext/core/Classes/Routing/Aspect/StaticValueMapper.php @@ -37,6 +37,18 @@ use TYPO3\CMS\Core\Site\SiteLanguageAwareTrait; * 2k17: '2017' * 2k18: '2018' * next: '2019' + * # (optional) + * localeMap: + * - locale: 'en_US.*|en_GB.*' + * map: + * twenty-seventeen: '2017' + * twenty-eighteen: '2018' + * next: '2019' + * - locale: 'fr_FR' + * map: + * vingt-dix-sept: '2017' + * vingt-dix-huit: '2018' + * prochain: '2019' */ class StaticValueMapper implements StaticMappableAspectInterface, SiteLanguageAwareInterface, \Countable {