⚙️ Language and Translations

šŸ“š Learn how to customize and manage multilingual settings in OmniChat. Edit translations, set chat and admin languages, and translate custom content to provide a seamless experience for users worldwide.

šŸ’” PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

OmniChat is fully multilingual and provides powerful features to detect the user’s language on the fly.

Edit translations

To edit the languages of both chat and admin, go toĀ Settings > Translations. Some settings, such as e-mail contents, are directly translatable and therefore do not need to be translated here.

Chat language

OmniChat is already translated into 41 languages. There are many options available to set the language:

  • OPTION 1Ā Go toĀ Settings > ChatĀ and check theĀ Translate automaticallyĀ option. This feature will automatically use the chat language of the user’s browser or the language saved in the user profile.

  • OPTION 2Ā Add the URL parameterĀ lang=LANGUAGE-CODEĀ to the script that loads the chat, replacing “LANGUAGE-CODE” with the two-letters language code you would like to display. E.g.Ā https://omnichat.planifyx.com/account/js/init.js?id=123456&lang=es.
    This feature will force the chat to always use the same language and the optionĀ Chat > Translate automaticallyĀ will be ignored. Go toĀ wikipedia.org/wiki/List_of_ISO_639-1_codesĀ for the complete languages code list (see column 639-1). For Traditional Chinese useĀ zt, for Simplified Chinese useĀ zh, for Brazilian Portuguese useĀ pt.

Admin language

To translate the admin area follow the steps below:

  • Translate the texts in your language from theĀ Settings > Translations.

To set the admin area language:

  • Activate the optionĀ Settings > Admin > Automatically translate admin area. This feature automatically translate the admin area to match the agent profile language or the agent browser language.

Translate custom contents

You can translate almost any custom content likeĀ rich messages, titles, descriptions, automatic messages, chat header, and more. To include translations, visitĀ Settings > TranslationsĀ and click on theĀ New translationĀ button. Then, enter the English content you wish to translate in the first field and its corresponding translation in the second field. The original text must be in English. If you have the artificial intelligence app you can also translate all contents to any language automatically through theĀ multilingual via translationĀ feature.

Information

  • If a translation string is missing, add it by clicking the buttonĀ Add new translation.
  • If a translation string is not working, make sure to remove all white spaces and break lines at the start and the end of the string.
  • The translations edits are not saved in the database but directly in the translation files. When a translation is edited, and saved, a backup is created into theĀ uploadsĀ folder. The backup is restored automatically on plugin update and plugin activation.
  • Some special chars likeĀ &Ā are replaced by the HTML equivalent code (seeĀ https://www.w3schools.com/html/html_entities.asp). Ex.Ā &Ā is replaced byĀ &.