Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

Content languages and interface languages

The two kinds of language in Exponential, explained for public bodies: content languages (what pages are written in) and interface languages (what the administration and the site's fixed texts speak), where each is set…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/languages/content-languages-and-interface-languages.md

On this page

Content languages and interface languages

This page is for administrators and lead editors who set up a site in several languages. Exponential has two independent kinds of language, set in different places. Mixing them up is the most common cause of confusion (Content languages, section 1).

Contents

  1. The two kinds
  2. Locales, the third piece
  3. Typical combinations
  4. Where the fixed texts of a public site come from

The two kinds

Content languageInterface language
What it isa language objects (pages, documents, users) can be written inthe language of buttons, menus and messages
Where the texts arein the database, one translation per object and languagein translation files, share/translations/<locale>/translation.ts and each extension's translations/
Where it is managedSetup > Languages (content/translations)site.ini [RegionalSettings] Locale per siteaccess, and the administrator's own choice
What chooses it for a pageSiteLanguageList[] of the siteaccessLocale of the siteaccess, with TextTranslation=enabled

A siteaccess can show German content with an English interface and the other way round.

Locales, the third piece

A locale (share/locale/<code>.ini) holds the names of a language and country, the HTTP language tag, the text direction, date and number formats. A content language is a locale code, so only a locale with a file can be added; the siteaccess's Locale decides how dates and numbers are written (Languages in Exponential, section 1).

Typical combinations

SituationPublic siteaccessAdministration
Bilingual country siteone siteaccess per official language, each with its Locale and SiteLanguageList[]one administration; staff choose their interface language
Staff work in a language without a full interface translationthe interface shows English for untranslated strings, while content is edited in the staff's language
A minority language site sectionits own siteaccess listing the minority language first and the main language second

Where the fixed texts of a public site come from

Texts written into templates ("Search", "Contact us", footer labels) are interface texts: they go through |i18n( 'design/<your design>' ) and are translated in .ts files of your design extension. Texts editors write (menus, footer content kept as objects) are content and are translated in the editor (Building a multilingual site). Keeping as much fixed text as possible in content lets editors translate it without a developer.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x