Content language
Adding a language
You can work with language variations of your project's content. When you create a project, English is set as the default content language. You can add any language to extend the language versions of your content.
First, add the language to the system. Go to the settings section and open the content languages subsection. Select the language you need from the list. You can use the search to find it.
To activate the selected language, click the "eye" icon .
To enter edit mode, click the edit icon .
To delete a language, click the trash icon .
The added language appears in the list of available languages. To switch the content language, use the language icon in the top panel.
Content translation
When you switch the content language, every untranslated entity is marked with the code of the language it was created in. Open the entity settings and translate its content into the selected language.
The example shows how to translate an existing page from English into French.
Custom languages
If the language you need isn't in the list, you can create it yourself.
Go to the settings and open the languages section. Below the list of languages is a form for creating your own language. Fill in the fields and click "Create".
- In the name field, enter the language name in English, for example "My Lang".
- In the original language name field, enter the language name again. This field can contain special characters outside the Latin alphabet.
- In the local code field, enter the code your project will use to get data in this language. You can read more about language codes here.
- In the content language short code field, enter a short form of the language code, usually two characters. You see this code when you switch languages.