Actions
Feature #90114
closedDisable translation of filelist
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-01-15
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Currently there is no simple solution to disable/enable the translation of the files in the (BE menu) filelist.
This could be done by unsetting languageField like
unset($GLOBALS['TCA']['sys_file_metadata']['ctrl']['languageField']);
But this will trigger a PHP exception because the TYPO3\CMS\Filelist\Filelist::formatFileList() doesn't check if languageField is set or not.
Adding an additional condition in "case '_LOCALIZATION_'" would solve this exception and also would give the possibility to enable/disable filelist localization.
Actions