[Typo3-dev] Records localization in an extension
Jean-David Gadina
macmade at gadlab.net
Wed Feb 16 12:02:14 CET 2005
Hi all,
I'm trying to find the best way to use the T3 localization features with an extension.
Imagine you have in an extension, a main table in relation with a category table. The records from those two table must be localizable. What will happen with the relation? It would be possible, for instance, to link a main record in the default language to a category in another language... Not very logical...
So what is the best way to avoid this? Should I add a where clause in the TCA to select only the categories in the original language, or create a select field, instead of a group field, with a custom function to select only the categories in the current record language (with an update request when the language field is changed)?
Thanx a lot : )
- - -
Jean-David Gadina (macmade)
www.gadlab.net - Multimedia Network
More information about the TYPO3-dev
mailing list