# WPML and Translations

[WPML](https://wpml.org/) is a popular multi-language plugin that allows you to translate strings for multiple languages using WordPress.

[#translating-ajaxify-comments-labels](#translating-ajaxify-comments-labels "mention")

[#translating-the-remainder-of-ajaxify-comments-strings](#translating-the-remainder-of-ajaxify-comments-strings "mention")

This guide will walk you through how to translate Ajaxify Comments using WPML.

{% hint style="danger" %}
**You need the WPML Multilingual CMS plan**: The [Multilingual CMS plan](https://wpml.org/purchase/) comes with the [String Translator add-on](https://wpml.org/documentation/getting-started-guide/string-translation/), which you'll need to translate Ajaxify Comments.
{% endhint %}

## Translating Ajaxify Comments Labels

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FWYjD3iz9TjYAD14TujeN%2Fdlxplugins-1695326238551-1x.webp?alt=media&#x26;token=765d88c3-86b6-412b-9877-c1171c578781" alt=""><figcaption><p>Labels Tab in Ajaxify Comments Settings</p></figcaption></figure>

Ajaxify Comments has several labels available to translate. Here's how to translate them using WPML.

### Step 1: Discover which strings to translate

Ajaxify Comments has several labels that are displayed that can be translated. These can be found in the labels screen of Ajaxify Comments.

{% content-ref url="../customization/labels-and-translations" %}
[labels-and-translations](https://docs.dlxplugins.com/ajaxify-comments/customization/labels-and-translations)
{% endcontent-ref %}

These labels are designed to be translated for one language, but you can use WPML and modify these labels per language.

### Step 2: Activate and Setup WPML and WPML String Translation

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2F7S8L0jUJhyRH7NSj3RSV%2Fdlxplugins-1696617629967-1x.webp?alt=media&#x26;token=d53838eb-f02b-449a-b3fc-2b0ba2c609aa" alt=""><figcaption></figcaption></figure>

Install WPML and WPML String Translation and follow the setup process for the plugin.

### Step 3: Save any Ajaxify Options Screen

To register the strings for translation in WPML, we'll have to save the Ajaxify Comments settings.

Head to any of Ajaxify Comments admin screens and save the settings. This will register the strings.

{% content-ref url="../first-time-users/finding-the-settings" %}
[finding-the-settings](https://docs.dlxplugins.com/ajaxify-comments/first-time-users/finding-the-settings)
{% endcontent-ref %}

### Step 4: Head to WPML's Translation Management Screen

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FItczmKx280c6lNYDwDYV%2Fdlxplugins-1696617414676-1x.webp?alt=media&#x26;token=5bd51f3d-5211-4443-8ffc-707bfc9e7c1b" alt=""><figcaption><p>WPML's Translation Management Screen</p></figcaption></figure>

Head to the Translation Management screen, which you can find in the WPML menu item.

### Step 5: Select the "Ajaxify" item from "All Types"

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FuzZRXiHxObYttAw9szUb%2Fdlxplugins-1696617882480-1x.webp?alt=media&#x26;token=9a5ba1f5-139f-43dc-baaa-5280f93d5934" alt=""><figcaption><p>Ajaxify Comments on the Translation Management Screen</p></figcaption></figure>

Select "Ajaxify" from the "Types" menu and filter. You can now select the "Ajaxify Comment Labels" item.

### Step 6: Select Ajaxify Comment Labels and Queue for Translation

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FnXS5JJCpXrVnH7DMwiwJ%2Fdlxplugins-1696618047613-1x.webp?alt=media&#x26;token=c29bb354-121c-46cf-8c9b-f0585465895d" alt=""><figcaption><p>Queue Ajaxify Comments for Translation</p></figcaption></figure>

Select "Ajaxify Comment Labels" and click the "Add to Translation Queue" button.

### Step 7: Head to the Translations screen to translate the options

Head to the "Translations" item under the WPML menu item.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FzhIowgNV9f1wFph8jqXf%2Fdlxplugins-1696618206910-1x.webp?alt=media&#x26;token=1d88f6bf-5e99-4932-9d99-10aaa2aa64ae" alt=""><figcaption><p>Translations Menu Item Under WPML</p></figcaption></figure>

Once on the "Translations" screen, you'll be able to select "Ajaxify Comment Labels" and translate those.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FOpOL0PzTWCGNFly7on20%2Fdlxplugins-1696618232176-1x.webp?alt=media&#x26;token=8c087372-d3a5-4365-9bdc-c5da1cde969f" alt=""><figcaption><p>Ajaxify Comment Labels</p></figcaption></figure>

While on the translate screen, you'll see the old labels that you can translate into your new language.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2Fi0FvsVHmLFrLPNjw0rna%2Fdlxplugins-1696618448737-1x.webp?alt=media&#x26;token=5385fcaf-8247-4e4c-a26a-6cc746a39944" alt=""><figcaption><p>Ajaxify Comment Labels Translations Screen</p></figcaption></figure>

Complete all of the translations, mark them as complete, and save.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FvHwCBL8htt6F06EJU5u6%2Fdlxplugins-1696618665404-1x.webp?alt=media&#x26;token=95811a9d-fb63-4f57-a0a5-6db4c9f137a7" alt=""><figcaption><p>Translating Ajaxify Labels</p></figcaption></figure>

### Step 8: Preview on the Frontend

Head to the frontend, and try to post a few test comments while in the alternate language.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FwAFGM5YbWchOYaDLnYLp%2Ftranslation-demo.gif?alt=media&#x26;token=cb8694a1-43b5-48e9-8be6-c73eb5144c47" alt=""><figcaption><p>Translations on the Frontend</p></figcaption></figure>

## Translating the Remainder of Ajaxify Comments Strings

The labels are one small part of Ajaxify Comments. In order to translate Ajaxify Comments wholistically, you need to head to the **Themes and Plugin Localization** menu item under WPML.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FNt5EARsISL6eWZYgM3Ic%2Fdlxplugins-1696620224772-1x.webp?alt=media&#x26;token=ce100cbb-de09-44de-8816-324b454d887f" alt=""><figcaption><p>Themes and Plugins Localization Screen</p></figcaption></figure>

Find the plugin `Ajaxify Comments` and scan for the strings.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FRlA1ejwUyIWBoxkqUs0L%2Fajaxify-sync.gif?alt=media&#x26;token=a2039363-65b6-43de-98e3-91e5f39e842d" alt=""><figcaption><p>Select Ajaxify Comments and Scan Plugin Strings</p></figcaption></figure>

While on the same screen, after scanning, select the "Ajaxify Comments" translation to edit it.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FWm071GGCJUoVFBKzfvSK%2Fajaxify-translate.gif?alt=media&#x26;token=63a1797f-e182-4c56-be70-3c9a20c414a5" alt=""><figcaption><p>Translate Ajaxify Comment Strings</p></figcaption></figure>

Alternatively, you can head to the **Strings Translation** under WPML and select the `wp-ajaxify-comments` domain.

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FHXdjDMGQtkusZYNRzuH9%2Fdlxplugins-1696620624163-1x.webp?alt=media&#x26;token=d2155722-21bd-4037-a964-d7323cdb0ab9" alt=""><figcaption><p>Look for 'wp-ajaxify-comments' on the Strings Translation Page</p></figcaption></figure>

**Need more help?**

Please reach out to support.
