Keep block texts in two languages
The German home page hero speaks German.
Life cycle: Maintain, example 29 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- A German layout copy with German texts and a mapping with a Siteaccess condition for the German siteaccess.
With templates
- A template block that prints fields of a translated content item shows each language from the same template.
Which to choose
Few texts: a layout per language. Many: translated content in templates.
Check
- Each siteaccess shows its language.
Related pages
- Which layout does a page get?
- Maintain examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.