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

Testing a multilingual site

How to test a multilingual Exponential site before launch and after changes: the test language Lorem Ipsum (qlo-ZZ) with exp:loremipsum, checks per language address, fallbacks, switcher, search, forms and mails…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/languages/testing-a-multilingual-site.md

On this page

Testing a multilingual site

This page is for administrators and site builders who check a multilingual site. Exponential ships a language made for testing, Lorem Ipsum (qlo-ZZ), which no installation adds by itself (The test language Lorem Ipsum).

The Translations tab of an item, with the existing and the missing translations
The Translations tab of an item, with the existing and the missing translations

Contents

  1. Testing with Lorem Ipsum
  2. Checks per language
  3. Checks across languages
  4. Caches
  5. Remove the test language

Testing with Lorem Ipsum

Use a test installation, never practise removal on a language your content uses.

  1. Setup > Languages > Add language, choose Lorem Ipsum.

  2. Give a test siteaccess SiteLanguageList[]=qlo-ZZ and your main language second.

  3. Fill translations with lorem ipsum text:

    ./console exp:loremipsum <object id> --dry-run

    It fills only test languages. Remove --dry-run when the output looks right.

  4. Browse the test siteaccess: every translated text is visibly lorem ipsum, so untranslated fixed texts and fallbacks stand out.

Checks per language

  • To do: The address answers and <html lang> is right.
  • To do: Menus, footer and fixed texts are in the language.
  • To do: Dates and numbers follow the locale.
  • To do: Forms, their error messages and confirmation pages are in the language.
  • To do: Mails sent by forms and newsletters are in the language.
  • To do: Error pages (not found, access denied) are in the language.
  • To do: Search finds pages in the language.
  • To do: For right-to-left languages: dir="rtl" and a mirrored layout.

Checks across languages

  • To do: The switcher leads to the same page in each language.
  • To do: A page that exists in one language behaves as the fallback policy says on the others.
  • To do: Always available items (images, users) show everywhere.
  • To do: A new translation published in one language does not change the others.
  • To do: Translators can edit only their language.

Caches

After settings changes clear the INI and content caches (php bin/php/ezcache.php --clear-tag=ini,content) and Velocity's response cache (./console exp:velocity cache clear --apply) when Velocity serves the site; otherwise a test may show an old state (Content languages, section 10).

Remove the test language

Remove the Lorem Ipsum translations (or the test objects), then the language in Setup > Languages, so it does not keep a content language slot.

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