Bug #93033
Language switch missing for file metadata records
0%
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
Related issues
Updated by Mathias Brodala 2 months ago
- File 2020-12-22_17-22.png 2020-12-22_17-22.png added
- File 2020-12-22_17-23.png 2020-12-22_17-23.png added
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:
Updated by Mathias Brodala 2 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.
Updated by Mathias Brodala 2 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.