[TYPO3-english] TCA definitions

Markus Klein klein.t3 at mfc-linz.at
Wed Aug 14 11:46:57 CEST 2013


Hi!

Did you define l10n_mode too?
If not, the original record will always be copied.

http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Index.html?highlight=l10n_display

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

> 
> 
> Hello.
> 
> I have written some Extention. Its it has multilang support. Easy with Typo3,
> but is does not work:
> 
> Here is a part of the TCA definition:
> 
> 'number' => array(
> 	'l10n_display' => 'defaultAsReadonly',
> 	'config' => array(
> 		'type' => 'input',
> 		'size' => 30,
> 		'eval' => 'trim,required'
> 	),
> ),
> 
> The field number is shown in the BE as Readonly while editing the translated
> version.
> 
> I expect in the FE that the original value is passed through from the standard
> language.
> This is not true :-(
> 
> Without the 'l10n_display' => 'defaultAsReadonly' line this works, but but
> then the field is not shown in the BE editing the translated version.
> 
> So ist this a bug in TYPO3 or did I miss some additional configuration in the
> TCA?
> 
> 
> Thanks a lot for your help,
> 
> Christian.
> 
> BTW: This Ext is written using Extbase and TYPO3 V6.0
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list