Languages ​​& translations

Palladium automatically chooses the language to serve to the visitor, with a fallback guaranteed to be in the default language of the domain.

Resolution string

  1. data-lang on the <script> tag (absolute priority).
  2. <html lang="..."> of the host page.
  3. navigator.language of the browser.
  4. Default language configured in the console.

The detected code is sent as a query string (?lang=fr-FR). The server then tries an exact match, then a BCP-47 base match (fr-FR → fr), then falls back to the default language.

Add a translation

In /domains/{id}/bannerLanguages section:

  1. Choose the default language (serves as final fallback).
  2. Select another language in Add a translation and click +.
  3. Enter title, description, button labels.

Empty fields of a translation fall back field by field on the main domain texts — so you can translate only what changes.

Accepted language codes

Any short BCP-47 code works. Console presets cover fr, en, es, de, it, pt, nl, ar — you can store any other code in the plm_domains.Translations table (JSON).