Project

General

Profile

Actions

Bug #99064

open

Languages in config.yaml should be order independent

Added by Yannick Lieneweg over 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2022-11-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
config.yaml, language, multilingual, duplicate translation
Complexity:
Is Regression:
Sprint Focus:

Description

We have recently migrated our site from TYPO3 v10.4.31 to v11.5.18. Somehow there seems to be changes with the language management.

The Problem:
Using an earlier configured config.yaml (with TYPO3 version 9.5), the languages in the file are in the following order:

  • German (languageId: 1)
  • Italian (languageId: 2)
  • Ladin (languageId: 4)
  • English (languageId: 0, typo3Language: default)

The problem is illustrated in the picture 'typo3v11-backend-wrong-language.png': The backend shows German as the default language and the English language is missing despite being configured. German appears twice.

When I move the English language section to the beginning of the languages block, the problem is solved (See 'correct-language-configuration.png').
The correct parsing of the default language should not depend on the position it appears in the config.yaml.


Files

typo3v11-backend-wrong-language.png (2.27 MB) typo3v11-backend-wrong-language.png Yannick Lieneweg, 2022-11-11 14:46
correct-language-configuration.png (2.23 MB) correct-language-configuration.png Yannick Lieneweg, 2022-11-11 14:46
config.yaml (1.6 KB) config.yaml Yannick Lieneweg, 2022-11-11 14:55

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Epic #101557: Translation Handling FindingsNew2023-08-03

Actions
Actions

Also available in: Atom PDF