Actions
Bug #46748
closedCustom languages won't be displayed in the frontend
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-03-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
In typo3conf/extTables.php I added the following lines:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['user'] = array( 'de_AT' => 'German (Austria)', 'de_CH' => 'German (Swiss)', ); $GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['dependencies'] = array( 'de_AT' => array('de'), 'de_CH' => array('de'), );
It seems that the function "initialize()" won't be executed in the class "typo3_src-4.6.18/t3lib/l10n/class.t3lib_l10n_locales.php", when the function $locales->getLocales() is called in the class "typo3_src-4.6.18/typo3/sysext/cms/tslib/class.tslib_fe.php" in line 4751.
"var_dump($locales->getLocales());" only outputs the normal array without the new localizations.
Actions