Issue Feature Closed

#90114Disable translation of filelist

NGUYEN Duc Quan 01/15/20, 11:16 updated 02/27/20, 12:43

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.

Reviews 1