1. Language fallback

The language fallback pipelines

Language fallback uses the following pipelines defined in the Sitecore.config file and various processors defined in the Sitecore.LanguageFallback.config file.

Note

You can extend and customize the pipelines by adding custom processors or replacing the default ones, but this can degrade performance.

The Sitecore.config file

PipelineProcessorDescription
getItemEnforceVersionPresenceChecks whether the enforce version presence feature is enabled for the website and returns null if there is no version of the item available in the requested language.
getFieldLabelResolveFieldLabelReturns the field label that is shown in the Content Editor and the Experience Editor.If the field value comes from a fallback language, it displays the language.If the field value comes from the Standard Values, the default field labels are shown with the field sharing settings appended.
getFieldValueGetInheritedValueRetrieves the field value for a clone.
GetStandardValueRetrieves the standard value.
GetDefaultValueRetrieves the default value from the template.

The Sitecore.LanguageFallback.config file

PipelineProcessorDescription
getFieldValueIsValidForLanguageFallbackChecks whether the field is set up for fallback.
GetLanguageFallbackValueRetrieves the fallback field value.
GetLanguageFallbackStandardValueRetrieves the fallback standard value.
getItemGetLanguageFallbackItemReturns the item in the fallback language.
getVersionsGetLanguageFallbackItemVersionsReturns the item versions from the original language if it is a fallback item.
If you have suggestions for improving this article, let us know!