Issue Feature Closed

#22067Add a "keyword" to l10n_mode in ['columns'][fieldname] section

Stefano Kowalke 02/05/10, 18:13 updated 03/21/10, 20:55

Description

With the l10n_mode you can control how T3 handles translations in the backend forms.
Four keywords are described in the documentation, but you could also clear the key and got a 5th behavior -> T3 copy the text from default language to the specific field.

So I wish me a note to this possiblity inside the doc.

Example:
If you create a tt_news item in default language (english), T3 insert the current date into datetime field. This happend because of settings in tt_news tca.php:
’default’ => mktime(date(“H”),date(“i”),0,date(“m”),date(“d”),date(“Y”))

After a few days, someone translate the item to german, so T3 insert again the current date into datetime field – the creation date of the translation. So you have different dates for same news item.

To get rid you have to clear the “l10n_mode”. Add this line into typo3conf/extTables.php:
$TCA[‘tt_news’][‘columns’][‘datetime’][‘l10n_mode’] = ‘’;

(issue imported from #M13438)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.