Project

General

Profile

Actions

Bug #46748

closed

Custom languages won't be displayed in the frontend

Added by David Gurk over 11 years ago. Updated over 9 years ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #46688: Bugfix for "L10n fallback" (#44099) does not work for local languages like "at" (Austria)ClosedXavier Perseguers2013-03-26

Actions
Actions

Also available in: Atom PDF