Issue Bug Closed

#46748Custom languages won't be displayed in the frontend

David Gurk 03/28/13, 14:05 updated 12/13/14, 23:16

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.