I'm using TYPO3 8 LTS and trying to remove the String "[Translate to XY]", when create translated content and pages.
In earlier TYPO3 versions it was possible to solve this with the following code in extTables.php:
$TCA['tt_content']['columns']['bodytext']['l10n_mode'] = '';
$TCA['tt_content']['columns']['header']['l10n_mode'] = '';
(Link: https://sankartypo3.wordpress.com/2012/08/23/how-to-remove-translate-to-and-copy-tags-in-typo3/)
I've tried it with same code in ext_tables.php and TCA/Overrides/tt_content.php. => That didn't work for me.
Have anyone an idea how to solve this or the new way to do it?
best regards
Replace $TCA
with $GLOBALS['TCA']
inside Configuration/TCA/Overrides/tt_content.php:
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['l10n_mode'] = '';
$GLOBALS['TCA']['tt_content']['columns']['header']['l10n_mode'] = '';
Alternatively you could set an empty string with Page TSconfig:
TCEMAIN.translateToMessage =