Project

General

Profile

Actions

Bug #78876

closed

"availableLanguages"-Settings from AdditionalConfiguration not loaded

Added by Florian Mast almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2016-12-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

Zitat: Steffen Müller:
Looks like setting `$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['lang']['availableLanguages'] = ['de'];
in AdditionalConfiguration.php does not work,
though it works if I have the same equivalent setting in LocalConfiguration.php

When putting the setting in LocalConfiguration.php, then German is active in "Languages" module. When put into AdditionalConfiguration.php, German is inactive.

Zitat: Helmut Hummel:
Looks like setting `$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['lang']['availableLanguages'] = ['de'];` in AdditionalConfiguration.php does not work

That is imho a bug originating in this code:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/lang/Classes/Domain/Repository/LanguageRepository.php#L88-L97

Actions

Also available in: Atom PDF