Feature #22067
closedAdd a "keyword" to l10n_mode in ['columns'][fieldname] section
0%
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)
Updated by Francois Suter over 14 years ago
It's true that this is not entirely clear. I've added the following at the bottom of l10_mode description:
As mentioned above if “l10n_mode” is not set for a given field, that field is just copied as is to the translated record.