Advanced Features
Multi-language Support
Serve visitors in their own language, automatically.
hej! automatically detects your visitor's language and adapts the entire chat experience — from the widget UI to the AI responses and greeting messages.
How It Works
Automatic Language Detection
The widget reads the lang attribute from your page's <html> element (e.g. <html lang="de">). No configuration needed.
Widget UI Translations
All widget interface text (buttons, placeholders, labels) is automatically translated to match the detected language.
AI Responds in Context
The AI automatically responds in the same language the visitor uses. Even if your content is in English, the AI translates its answers naturally.
Greeting Translations
Smart greetings can have per-language translations. The widget shows the greeting in the visitor's language when available.
Setup
Language detection works out of the box. Just make sure your website sets the lang attribute on the <html> element:
<!-- English -->
<html lang="en">
<!-- German -->
<html lang="de">
<!-- French -->
<html lang="fr">If no lang attribute is set, the widget defaults to English.
Translating Greetings
When creating smart greetings in Studio, you can add translations for each message. The widget will automatically display the correct version based on the visitor's language.
Go to Studio → Greetings and click on a greeting to add translations. See the Smart Greetings page for details.