Translate entries into other languages
Enter a translated value for each translatable field of an entry, so that readers in another language see it.
Before you start
- You need the Administrator role to add languages in Settings > Languages. See Languages settings.
- Add at least two languages. The first language is the default and cannot hold translations. See Languages settings.
- The model needs at least one field with Translatable turned on. See Add and configure fields.
- Save the entry first. The language switcher does not appear on an entry that has not been saved yet.
Steps
- Select the entry to open it in the editor.
- In the language switcher above the form, select the language to translate into. The switcher lists the language names from Settings > Languages.
- Enter the translated value in each field. The editor shows only translatable fields. Empty fields fall back to the default language.
- Select Save.
Result
The editor shows the toast Saved, and the entry keeps the translated values for that language. The _i18n object of the entry stores them by language code. An API request with lang set to that code returns the translated values. Fields without a translation return the default value.