# Multilingual sites: WPML, Polylang and other languages

> Run WPBot on a site in several languages: chatbot texts per language, AI answers in the visitor's language, the Help Center with WPML and Polylang, and sites with one domain per language.

Source: https://www.wpbot.pro/help/ts-compatibility-multilingual/  
Section: Troubleshooting and FAQ › Compatibility  
Updated: 2026-11-26

WPBot works in any language, including right-to-left languages. How much you set up depends on whether your site is in one language or several.

## A site in one language

- Change every text the chatbot shows in **WPBot Pro → ChatBot → Language Center** .
- For right-to-left languages, turn on **Enable RTL**  in the ChatBot settings (**ChatBot Window Options** ).
- Write your system prompt and Business Context in your language; AI answers follow them.

## A site in several languages

| Part | How it handles languages |
| --- | --- |
| **AI answers** | With **Answer in the visitor's language** on (**ChatBot → AI Advanced → Skills**, part of "Knows the customer"), the AI replies in the language the visitor writes in |
| **Chatbot texts** (greeting, start menu, buttons) | The **Multi-Language** module keeps the Language Center texts for each language you add. **URL Based Default Language** makes a language the default for addresses you list, one per line (for example `https://example.com/fr`), which matches the language folders WPML and Polylang create |
| **Help Center** | Articles, knowledge bases, categories, tags and glossary terms can be translated in **Polylang** and **WPML**. Each language gets its own Help Center home, search, glossary and `llms.txt`; the Help Center's title and introduction are strings to translate |
| **Knowledge base** | Reads your translated pages like any other page. Include every language you want the chatbot to answer from |

Switch the **Multi-Language** module on in the [Turn modules on and off in the Module Manager](/help/module-manager/) first.

## One domain per language

Some multilingual setups use a different domain for each language (for example `example.fr` and `example.de`). For security, WPBot refuses chat requests coming from domains it does not recognise as your site, and visitors then get no answers on the other domains.

A developer can allow your other domains with the `qcld_wpbot_chat/allowed_hosts` filter:

```
add_filter( 'qcld_wpbot_chat/allowed_hosts', function ( $hosts ) {
	return array_merge( $hosts, array( 'example.fr', 'www.example.fr', 'example.de' ) );
} );
```

Language folders (`example.com/fr/`) and subdomains that WordPress serves as the same site need nothing extra when the request goes to the same host.

## Tips

- **Test each language in a private window,**  and type `reset` in the chat between tests: the chat remembers the conversation in the browser.
- **Unanswered questions in every language**  appear in **ChatBot → Train** . Write the missing answers in the language they were asked in.

## Availability

- Language Center, right-to-left support and the Help Center's Polylang and WPML support: every edition, including WPBot Free.
- **Answer in the visitor's language** : **Professional**  and **Master** .
- **Multi-Language**  module: **Master**  only.
