How to remove [Translate to:] and copy tags in Typo3?

Posted: August 23, 2012 by Sankar Vijayakumar in Typo3
Tags: , , , , , ,

remove translate to in typo3

remove copy text typo3

tsconfig code to disable translate to text

The [Translate to:] text and copy tags in content elements copied from default content elements may sometime appear very irritating. We can handle the [Translate to:] text using tsconfig code but cannot remove it fully (at least the brackets may remain: http://forge.typo3.org/issues/27297).

How to change [Translate to:] text?

Use the following code in tsconfig:

TCEMAIN {
translateToMessage = Translate to "%s"
}
How to remove [Translate to:] text?

In extTables.php add:

$TCA['tt_content']['columns']['header']['l10n_mode'] = '';
$TCA['tt_content']['columns']['bodytext']['l10n_mode'] = '';
Disable copy tag & hide at copy (for content elements):
TCEMAIN.table.tt_content {
disablePrependAtCopy = 1
disableHideAtCopy = 1
}
Disable copy tag & hide at copy (for pages):
TCEMAIN.table.pages {
disablePrependAtCopy = 1
disableHideAtCopy = 1
}

Note: Don’t forget to rename the pages after copying otherwise realurl issues may occur.

remove translate to in typo3

Advertisements
Comments
  1. Emil says:

    Doesn’t work with TYPO3 6.x

    Like

  2. whiteroom says:

    Try mode ‘copy’ in TYPO3 Version 7.6

    $TCA[‘tt_content’][‘columns’][‘header’][‘l10n_mode’] = ‘copy’;
    $TCA[‘tt_content’][‘columns’][‘bodytext’][‘l10n_mode’] = ‘copy’;

    Liked by 1 person

How's it? Your comments and suggestions...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s