[TYPO3-dev] BE: Only one field visible when making translation of an item

Brian Bendtsen nightowl at galnet.dk
Mon May 7 16:10:22 CEST 2007


Brian Bendtsen skrev:
> Dmitry Dulepov skrev:
>> Firsts, you need to define language overlay for your table. It should 
>> have all standard fields (like uid, pid, etc), fields described in [1] 
>> and also fields to be translated. Then you should configured TCA for 
>> your translatable fields in main table as described in [2].
>>
>> [1] 
>> http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.0.0/view/1/4/#id2723289 
>>
>> [2] 
>> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/#id3613137, 
>> see "languageField" and below
>>
> 
> Ok, so far I have found out that I can use the "displayCond" => 
> "FIELD:sys_language_uid:=:0" to hide a field if the language is not the 
> default one.
> 
> Is this the only solution?
> 
> I cant do something like what I described in my original post?
> 
> /BB
Another problem I just discovered, when making a tranlation of a record 
it dublicates all records in a foreign table. How do I disable this?

/BB




More information about the TYPO3-dev mailing list