Module: Work with multilingual
3 of 18 Pages
Setting up multilingual
The previous article introduced the multilingual variants of content and showed you, how to distinguish between translated and not-translated content in Xperience by Kentico. Now, we’ll dive deeper into the theory of languages and how to set them up in Xperience by Kentico.
Editors can offer website visitors content in different languages. For example, a US-based company can have content in English and French for a Canadian audience. Different channels can have different language variants to fulfill any specific needs of the company.
These languages are defined by system administrators, and developers made sure every channel displayed them properly. From the system perspective, however, there are three types of languages in Xperience, that are used for different purposes.
We’ll talk about different types of languages in Xperience. Let’s quickly describe them:
- Fallback language – we already covered this in the previous article. It’s a ‘backup’ language for the content you use in channels. In case the content won’t show in the new language variant (for example, because it wasn’t published), the fallback takes its place.
- Default language – when you open the Content hub for the first time, Xperience shows the content items in the default language first. After you switch to a different language in channels, Xperience remembers the new language and rearranges content items in the Content hub, so you first see the items in the new language you worked with. For example, your default language is English, so the content items in the Content hub you see first are in English. Then, you go to a website channel, switch to German, and work on the German language variant. When you go to the Content hub next time, Xperience remembers and shows content items in German first. The default language doesn’t influence the live website.
- Primary language - is the language in which the live website appears by default. The URL doesn’t include the language identifier of the primary language. For example, the primary language of a website is English, and a language variant is French. The URLs will look, fir example, like this:
- kbank.com/personal for English
- kbank.com/fr/personal for French