For many multi-language websites, only parts of the website content exist in all available languages. The reason can be that translations are not yet ready, content is not relevant for a specific language, or that some content should always display in a defined language.
You have the following options:
- Unless a fallback or replacement language is defined, content is invisible to visitors browsing the website in a language into which content has not been translated.
- Define a fallback language, in which the content is displayed until the content is available in the desired language.
- Define a replacement language, in which content is always displayed regardless of the language in which the content exists. If a replacement language is defined for some content, a fallback language does not apply.
Fallback and replacement languages may cause mixed languages to be displayed on the website.
Setting fallback and replacement languages
Fallback and replacement languages are defined from the All Properties edit view, when editing a page or a block and then selecting Tools and Language Settings.
Language settings are inherited from the parent page. If you are redefining language settings for a subpage to a parent page with language settings defined, you need to deselect Inherit settings from the parent page “xxx” in the Language Settings dialog, to define settings for the subsection.
In this example, the "master" website language is English, and Swedish, Danish and Norwegian are enabled languages. Content is first created in English, and then translated into Swedish, Norwegian and Danish in that order. Swedish is used as first fallback for Norwegian and Danish. If content does not exist in Swedish (not translated yet), then a second fallback language "English" is applied.
This is a multi-language website with a legal information section with content that should always be displayed in English. To ensure this, a replacement language is applied for the legal information page branch.
Another scenario for using replacement language is when you have started to translate content on your website, but do not want to have mixed languages until translation is completed. When translation is ready, you simply remove the replacement language.