Language fallback enables either on item-level or on field-level fallback on the relevant sites and on the relevant items, fields, or templates. You should not use both item- and field-level fallback on the same item because it makes it difficult to maintain an overview of the versions that different items and fields fall back to. In your code -
item.Fields[FieldIDs.EnableItemFallback].Value = "0"
above code is used for Item-level fallback.
Also, you can maintain field-level fallback by following -
item.Fields[FieldIDs.EnableLanguageFallback].Value = "0";
item.Fields[FieldIDs.EnableSharedLanguageFallback].Value = "0";
- Item.Fields[FieldIDs.EnableSharedLanguageFallback] - to enable language fallback for all the language versions of the current field. This applies to all the currently available language versions of the field and any new language versions that you create
- Item.Fields[FieldIDs.EnableLanguageFallback] - to enable language fallback for only the current language version of the field.