The agent replies in the chat panel's language
FixedThe agent used to pick its reply language from the shopper's message alone. A message that shows no clear language, like "hello" or a product name, could get an English answer on a French, German or Italian panel.
The agent now knows which language the chat panel is in, and which languages your site offers. It applies this rule:
- A greeting, a product or brand name, or a message too short to tell: it keeps the language the conversation is already in, or replies in the panel's language when the conversation has just started.
- A sentence in another language your site offers: it replies in that language.
- A sentence in a language your site does not offer: it replies in the panel's language.
- A site with a single language: it always replies in that language.
If your agent's instructions say which language to reply in, the agent follows them instead.
The panel's language is the one the conversation started in. It stays the same for the whole conversation, even when the shopper moves to a page in another language. In the Playground, it is the Test language: changing it starts a new conversation.