Project

General

Profile

Actions

Task #70825

closed

Make default-language during a record-edit show name/flag

Added by Stefan Neufeind over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2015-10-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The default-language-details (name and icon) are not shown during a record-edit. They however appear correct in other places.

A special case is the "multiple"-flag which appears when "all" languages are selected. That flag should be displayed as well.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #73182: Import of localized content fails, content looses language idClosed2016-02-08

Actions
Actions #1

Updated by Stefan Neufeind over 8 years ago

Currently the items for "[All]" (-1) and "Default" (0) are provided in TCA for tt_content. For "all" it is possible to add a third parameter "flags-multiple", as the third parameter specifies the icon to use. However for the default-language and especially the default-label that would not be an option.

Another thing is that item-configuration (and thus also a label and an icon) can be provided via pageTS with TCEFORM. That would be an option, since it would easily allow to copy the default-language name and icon. But it didn't work out for me. My values didn't end up in TCEFORM.

What if we'd not provide the values in TCA directly (-1 and 0) as well as through the foreign-table, but instead have them provided by an itemsProcFunc into the TCA? FormEngine already has a Provider to provide the necessary data for available languages (including name and icon) which we possibly might be able to make use of - EXT:backend/Classes/Form/FormDataProvider/DatabaseSystemLanguageRows.php

Actions #2

Updated by Gerrit Code Review over 8 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 http://review.typo3.org/44146

Actions #3

Updated by Gerrit Code Review over 8 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/44146

Actions #4

Updated by Stefan Neufeind over 8 years ago

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

Updated by Markus Klein about 8 years ago

Regression in #73182.

Actions #6

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF