[Typo3-dev] default content elements copy and [Translate to:] - TCEMAIN.default.disablePrefixLangTitle =1 ?

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Thu Jun 9 22:26:51 CEST 2005


hi

Some of my content elements have only pictures (without header) and 
while translating to another language and coping default content 
elements I get "[Translate to:]" in the header which should be empty - 
nothing to translate there!! I have to go into every single content 
element and remove it :(

After searching the english forum I have found only one way to get rid 
of [Translate to:] appended to header when coping default content 
elements (creating new language version of page).

The wise guy Bernhard Kraft wrote:

###cut###################################
You will have to creat an extension containing nothing than the gernal 
information and create a ext_tables.php file containing the following:
<?php
if (!defined ("TYPO3_MODE")) die ("Access denied.");

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['columns']['header']['l10n_mode'] = 'prefixLangTitle';
?>

and then save the file. load your extensions and clear the typo3conf 
cache. (upper clear cache button) after this your change should be 
noticeable.
###cut###################################

I have no experience in creating ext at all.

Couldn't this be integrated into PageTS to allow to change the default 
bahaviour?

I mean something like this:
TCEMAIN.default.disablePrefixLangTitle = 1

grtz
Krystian Szymukowicz









More information about the TYPO3-dev mailing list