fbpx

Translations

Introduction

Joinchat is translated into 10 languages (Dutch, English, Galician, Persian, Portuguese, Russian, and Spanish from various countries) and you can view the status of other translations or help with their development from within Translating WordPress.

For the settings translation, Joinchat is compatible with WPML and Polylang allowing you to translate the texts you configure in the general settings into each language.

By default, the text fields and the phone number are translatable but with the filter 'joinchat_settings_i18n' you can include other fields to be translated. For example, if we want different theme colors for each language:

add_filter( 'joinchat_settings_i18n', function( $fields ){
 $fields['color'] = 'Theme Color';
 return $fields;
} );

Since Joinchat version 4.2 it’s easier to edit translations. When a translatable field is changed, a message with a link to edit translations is displayed.

WPML

First of all you need to have WPML installed and configured, you can follow his Getting Started Guide. More information on string translation is available at WPML.

How to translate all strings with WPML?

First of all you need to have “WPML” and “WPML String Translation” installed and configured, you can follow its Getting Started Guide. You must also have configured the different Joinchat options, the phone number and the texts. Once you have done this, follow these steps to translate Joinchat in each language:

  1. Go to WPML> String translation.

    Traducir cadenas de Joinchat con WPML
  2. Click on the drop-down menu “In the domain” and filter the strings by the domain “Joinchat”.

    Traducir cadenas de Joinchat con WPML
  3. Updates string translations for each language and saves.

    Traducir cadenas de Joinchat con WPML

As we have explained above, by default the text fields and the phone number are translatable but with the filter 'joinchat_settings_i18n' you can include other fields to be translated. For example, if we want different colors for each language:

add_filter( 'joinchat_settings_i18n', function( $fields ){
 $fields['color'] = 'Theme Color';
 return $fields;
} );

Since version 4.2 of Joinchat it is easier to edit translations. When a translatable field is changed, a message with a link to edit translations is displayed.

Polylang

First you need to have Polylang installed and configured, see documentation. Then follow these steps to configure Joinchat in each language:

  1. From Settings> Joinchat set the general settings in the main language of the site.
  2. Go to Languages> String Translation and filter the strings by the “Joinchat” group.

    CleanShot 2022 06 23 at 12.18.10@2x
  3. Update string translations for each language and save.

    CleanShot 2022 06 23 at 12.20.43@2x

More information about string translation for Polylang.

Content

Versión gratuita

Snippets

Versión Premium

Chat Funnel

In this section

🍪 We use cookies to personalize and enhance your experience on our site. Visit our Privacy Policy to learn more.

BY USING OUR SITE, YOU AGREE TO OUR USE OF COOKIES.