Project

General

Profile

Actions

Bug #27297

closed

Addition [Translate to XXX:] to content elements cannot be suppressed

Added by Alexey Gafiulov almost 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Typo3 is adding prefix [Translate to XXX:] to all text fields upon making a translated copy of content.

There is TCEMAIN.translateToMessage config option, but it only allow to change prefix, not suppress it.
Config option
TCEMAIN.translateToMessage =
is the same as absence of option at all.

As seen in code (class.t3lib_tcemain.php, line 3795)

if (isset($TSConfig['translateToMessage']) && strlen($TSConfig['translateToMessage'])) {
$translateToMsg = @sprintf($TSConfig['translateToMessage'], $langRec['title']);
}

if (!strlen($translateToMsg)) {
$translateToMsg = 'Translate to ' . $langRec['title'] . ':';
}

$overrideValues[$fN] = '[' . $translateToMsg . '] ' . $row[$fN];

field will get prefix in any case.

Actions #1

Updated by Chris topher almost 13 years ago

  • Subject changed from Impossuble to suppress [Translate to XXX:] addition to content elements to Addition [Translate to XXX:] to content elements cannot be suppressed
Actions #2

Updated by Christian Kuhn about 11 years ago

  • Status changed from New to Closed

This can be done by setting l10n_mode of the column configuration in question to empty string in $TCA

Actions

Also available in: Atom PDF