# WPML Integration - MultiLingual sites

See working demo at&#x20;

{% embed url="<https://demos.wplms.io/wpml>" %}

### Installing Plugins

Install WPML Translation along with String translation and the WPLMS WPML Translation

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT68-pPwyutUJUXx_Vn%2F-MT6Apx5QTlhzz-bV1CL%2FScreenshot%202021-02-09%20at%207.55.18%20PM.png?alt=media\&token=d87d38b9-3c69-4110-a952-938f80535135)

Install the WPML WPLMS integration plugin from below :

{% embed url="<https://wplms.io/downloads/wplms-wpml-translation/>" %}

### Necessary Settings

Required settings for WPML apart from regular WPML settings.

WP admin - WPML Languages - Enable Ajax&#x20;

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT6Bv7NMlS78qtmfuGP%2F-MT6H4fqkfaliKKGwTPO%2FScreenshot%202021-02-09%20at%208.20.39%20PM.png?alt=media\&token=56d123ae-9626-4e13-9e2f-6d7aee6c8642)

Translate course layouts in WP Admin - Vibebp - Coure layouts

### Do not sync Menus but create new ones

1. Translate the Loggedin Menu and Profile Menu
2. Do not sync menus in WP admin - WPML - Menu translations

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT6Bv7NMlS78qtmfuGP%2F-MT6HC1-9o_A3sdkayJf%2FScreenshot%202021-02-09%20at%208.22.02%20PM.png?alt=media\&token=51f84a6b-7ac4-47a8-83a5-d9d424d7080d)

### Refresh BuddyPress Navigation in each language

After setting up each menu, make sure you click on BuddyPress refresh navigation button at WP Admin - Vibebp - settings - buddypress for each language.

Note if you add new plugins to the PWA / Members area, then you'll need to follow this step again.

### Use BuddyPress Single page&#x20;

Enable BuddyPress single page and make sure the translated version of each page is available.

{% content-ref url="../administrator-guide/step-by-step-guide-for-administrators/buddypress-single-page" %}
[buddypress-single-page](https://docs.wplms.io/administrator-guide/step-by-step-guide-for-administrators/buddypress-single-page)
{% endcontent-ref %}

Translate other pages like Course directory, Members directory as recommended by WPML.

### Custom XML Configuration

Go to WP Admin - WPML - Settings add following configuration

```
<wpml-config>
    <admin-texts>
        <key name="vibebp_settings">
            <key name="general">
                <key name="login_heading" />
                <key name="login_message" />
                <key name="login_terms" />
                <key name="signin_email_heading" />
                <key name="signin_email_description" />
                <key name="forgot_password" />
                <key name="register_account_heading" /></key>
        </key>
    </admin-texts>
</wpml-config>
```

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT6I0r00mzOlx-zxoxC%2F-MT6Vyk7v0CnfpdhOCrc%2FScreenshot%202021-02-09%20at%209.24.23%20PM.png?alt=media\&token=c4eb952e-07a0-4fc4-a386-e65d7f24b6b1)

Next you will see translation option in WP admin - WPML - String translation to translate the strings :

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT6I0r00mzOlx-zxoxC%2F-MT6WJWxbp9LS5jjidx9%2Ftt.png?alt=media\&token=61788d13-1f2a-4f86-be38-fe42072a5ad7)

And the translations applied in different languages :

![](https://1960595267-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJ6s5FGS69lFw7GlM7i%2F-MT6I0r00mzOlx-zxoxC%2F-MT6WeUR-5EgA7NsZKVQ%2FScreenshot%202021-02-09%20at%209.30.56%20PM.png?alt=media\&token=8073bd6a-2f66-4fed-8b2d-63481949998c)

{% embed url="<https://www.youtube.com/watch?v=Hgtz9x3X85w>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wplms.io/translation-guide/wpml-integration-multilingual-sites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
