Bug #46748
closedCustom languages won't be displayed in the frontend
0%
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.
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19672
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19672
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19672
Updated by David Gurk over 11 years ago
Hi!
Please, can someone explain how the updates by "Gerrit Code Review" deal with this ticket? I try to understand this context.
Thank you.
Updated by Anja Leichsenring over 11 years ago
we had a typo in the commit message, providing a wrong issue number. So the patch sets where bound to this ticket they don't belong to.
Updated by Anja Leichsenring over 11 years ago
- Status changed from Under Review to New
Updated by David Gurk over 11 years ago
Hi,
I uploaded an example in this report:
http://forge.typo3.org/issues/46688#note-9
So it should be possible to understand my problem.
Thanks
Updated by David Gurk over 11 years ago
Okay, it's a bit odd.
I moved the code for "$GLOBALS['TYPO3_CONF_VARS']['SYS']['localization']['locales']['user'] ..." from "typo3conf/extTables.php" to "typo3conf/localconf.php".
tadaaa It works. -_-°
The really odd thing is, that I have the following line in my localconf.php:
$typo_db_extTableDef_script = 'extTables.php';
So I think this "issue" can be closed.
Updated by Georg Ringer almost 10 years ago
- Status changed from New to Closed
- Is Regression set to No
closed as requested