Forums / Developer / Problem with language_mask / Comment47464
Claudia Kosny
Tuesday 19 December 2006 5:32:16 am
Hi Lius
The number of items in the two tables is different because one contenobject can have several versions. I think of you would count the distinct contentobject_ids in the version table you should get the same number for both (not sure)
Generally I would not worry about the internal workings of EZ for this. To make an object avilable no matter whether it is translated in the current language or not, just tick the checkbox for 'Use the main language if there is no prioritized translation.' for this object (it is in the block translations of the detailed view of the object).
If this should be enabled by default for all objects of this class, tick the checkbox for 'default object availability' when editing the class. Please note that any changes to this setting will not affect existing objects, so you have to change all existing objects manually (or maybe per script).
Check e.g. here http://ez.no/community/developer/specs/improved_multi_language_in_ez_publish_rev_2under 'ignoring translation'.
Claudia