Skip to main content
InboxMate supports English and German. The widget automatically adapts to each visitor’s language.

How language detection works

The widget determines the visitor’s language in this order:
1

Stored preference

If the visitor has previously interacted with the widget and a language preference was saved, that preference is used.
2

Browser language

The widget reads the browser’s language setting (navigator.language). If it starts with de, German is used.
3

Default fallback

If neither condition matches, English is used as the default.

What adapts to language

ElementBehavior
Greeting messageShows the greeting in the detected language
Quick questionsDisplays the matching language set
Delayed messagesTimed engagement messages use the detected language
Human handover labelsUI labels for human support adapt
Widget UIButtons, placeholders, and system text follow the detected language

Setting up multi-language content

When configuring your agent, you can provide content in both languages:
  1. Greeting message — write an English and a German version
  2. Quick questions — configure up to 4 per language
  3. System prompt — instruct your agent to respond in the visitor’s language
Add a line to your system prompt like: “Always respond in the same language the visitor uses. You support English and German.”

Widget language configuration

When embedding, you can set the language mode:
window.PSquaredChat.init({
  agentId: 'your-agent-id',
  uiLang: 'multi' // 'en', 'de', or 'multi' (auto-detect)
});
ValueBehavior
enAlways use English, regardless of browser language
deAlways use German
multiAuto-detect from browser language (recommended)