Feature #57082

Centralize languageField / sys_language_uid dropdown generation

Added by Alexander Stehlik about 6 years ago. Updated 3 months ago.

Status:
Accepted
Priority:
Could have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2014-03-19
Due date:
% Done:

0%

PHP Version:
5.4
Tags:
Complexity:
medium
Sprint Focus:

Description

Currently every extension needs to implement the dropdown field for the available languages by itself.

The problems I see here are:

  • possible configuration errors by the Extension developer
  • no possibility for integrators to centrally manipulate the dropdown for all language fields

I would suggest a central method that generates the TCA for this field (similiar to FAL or category fields) and that can be manipulated centrally by TSConfig.

History

#1 Updated by Mathias Schreiber over 5 years ago

  • Description updated (diff)
  • Target version set to 7.4 (Backend)

#2 Updated by Susanne Moog almost 5 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#3 Updated by Benni Mack over 4 years ago

  • Target version changed from 7.5 to 8 LTS

#4 Updated by Riccardo De Contardi over 3 years ago

  • Target version changed from 8 LTS to 9.0

#5 Updated by Susanne Moog over 2 years ago

  • Target version deleted (9.0)

#6 Updated by Benni Mack about 1 year ago

  • Status changed from New to Accepted

I think we should introduce a new TCA type "language" which shows all available languages
- limited to the current site
- if in pages table, the field should be read only and not contain "All Languages"
- if a record with the same l10n_parent exists, the language should not be selectable
- TCA migration should migrate all existing "languageField" TCA columns to the new style

#7 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Accepted to Under Review

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/c/Packages/TYPO3.CMS/+/60293

#8 Updated by Gerrit Code Review 8 months 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/c/Packages/TYPO3.CMS/+/60293

#9 Updated by Gerrit Code Review 5 months 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/c/Packages/TYPO3.CMS/+/60293

#10 Updated by Benni Mack 3 months ago

  • Status changed from Under Review to Accepted

Also available in: Atom PDF