Bug #93033

Language switch missing for file metadata records

Added by Sebastian Michaelsen 8 months ago. Updated 27 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2020-12-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When editing file metadata records (sys_file_metadata), the language switch is missing.

From my observations the switch was there in v8 and is gone in v10.

According to xdebug the EditDocumentController->getLanguages() always determines English is the only available language for sys_file_metadata on pid 0.
The file list however has a different logic. From there metadata can be translated into any system language (FileList->getAvailableSystemLanguages()).


Files

2020-12-22_17-22.png (8.73 KB) 2020-12-22_17-22.png Mathias Brodala, 2020-12-22 16:22
2020-12-22_17-23.png (7.56 KB) 2020-12-22_17-23.png Mathias Brodala, 2020-12-22 16:22

Related issues

Related to TYPO3 Core - Task #85930: Add API for Site resolvingClosedBenni Mack2018-08-22

Actions
#1

Updated by Sebastian Michaelsen 8 months ago

  • Description updated (diff)
#2

Updated by Mathias Brodala 7 months ago

In fact translation of records on pid=0 is not possible anymore, e.g. sys_category.

When trying to translate file metadata through the file list module, an error occurs:


#3

Updated by Mathias Brodala 7 months ago

Sorry, my fault: I actually forgot to add the sys_language record in this instance.

Still, there is no language selector anymore as mentioned here.

#4

Updated by Mathias Brodala 7 months ago

In any case translation of files is still possible through the File list module. This also makes it necessary to go back when editing multiple file metadata translations.

#5

Updated by Mathias Brodala 7 months ago

  • Related to Task #85930: Add API for Site resolving added
#6

Updated by Riccardo De Contardi 4 months ago

  • Category set to Localization
#7

Updated by Gerrit Code Review 29 days 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/c/Packages/TYPO3.CMS/+/69721

#8

Updated by Gerrit Code Review 29 days 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/c/Packages/TYPO3.CMS/+/69721

#9

Updated by Gerrit Code Review 29 days 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/+/69721

#10

Updated by Gerrit Code Review 29 days 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/+/69721

#11

Updated by Gerrit Code Review 29 days ago

Patch set 5 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/+/69721

#12

Updated by Benni Mack 27 days ago

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

Also available in: Atom PDF