Drimer Docs

Localization

Supported languages and how to set the widget locale.

Amelia supports multiple languages. Set the locale property in the config to control the widget's UI language.

Supported locales

CodeLanguage
esEspañol
enEnglish

Usage

Drimer.init({
  publicKey: "pk_live_...",
  token: "your_session_token",
  element: "#amelia",
  config: {
    locale: "en",
  },
});

Default locale

If no locale is specified, the widget defaults to Spanish (es).

What is localized

  • Chat UI labels (placeholder, send button, thinking indicator)
  • Tool status messages (searching flights, hotels, etc.)
  • Trip draft tabs (itinerary, content, gallery)
  • Booking bar labels (dates, travelers, departure)
  • Transport and board type labels
  • Welcome messages

AI conversation language

The locale setting also influences the language Amelia uses in conversation. When set to en, Amelia will respond in English; when set to es, in Spanish.

On this page