[TYPO3-english] backend editors in multilanguage shows only language-restricted relation fields

Andreas Kiessling andreas.kiessling at web.de
Fri Dec 14 09:29:59 CET 2012


Hi,

>> I have an extbase extension which has a n:1 relation to another domain
>> model: travel -> branch.
>>
>> All branch entries are translated into multilangues. If an editor now
>> creates a new travel in the selectbox of branch all languages are shown up.
>>
>> How do I handle, that a user only can choose the branches of the correct
>> language? Is there a maker in the TCA? Or what is the proper way?
>>

That sounds more like a "problem" with the TCA setup. How does the
foreign_table_where part of your travel -> branch relation look like?

AFAIK it is not possible to automatically get a localized select field,
but you can try to work around these TCA limitations by
filling/modifying the options with an itemsProcFunc.

HTH,
Andreas


More information about the TYPO3-english mailing list