Project

General

Profile

Actions

Bug #78876

closed

"availableLanguages"-Settings from AdditionalConfiguration not loaded

Added by Florian Mast over 7 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50871

Actions #2

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50871

Actions #3

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50871

Actions #4

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50871

Actions #5

Updated by Florian Mast over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF