Guide FloatChat

Floatchat- User Guid

Language

Language and Translations #

Support Board 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 #

Support Board 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 – PHP ONLY 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://board.support/supportboard/js/main.js?lang=es or https://cloud.board.support/account/js/init.js?id=123456&lang=es for the cloud version.
    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.
  • OPTION 2 – WORDPRESS ONLY Go to Settings > WordPress and set the option Force language. This feature will force the chat to always use the same language and the option Chat > Translate automatically will be ignored.
  • OPTION 3 – WORDPRESS ONLY The WordPress version of Support Board uses the default language of the WordPress installation; or the language of the current page or post if the website is multilingual. This feature is compatible with WPML, Polylang, and other multilingual plugins. This feature is automatically disabled if the option Chat > Translate automatically is active.

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 you have three options:

  • 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.
  • Edit the file config.php inside your Support Board installation directory and Enter the code define(‘SB_ADMIN_LANG’, ‘LANGUAGE-CODE’); at the end of the file content. Replace LANGUAGE-CODE with the language code of the language you want to use, use only 2 letters, for example, insert only es, not es_ES.

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.

Add a new language #

To add a new language, follow the steps below:

  • Via FTP or a File Manager, go to supportboard\resources\languages\front.
  • Duplicate (copy and paste it in the same directory) the supportboard\resources\languages\front\source.json file.
  • Rename the file with the language code you would like to add. Go to wikipedia.org/wiki/List_of_ISO_639-1_codes for the complete languages code list (see column 639-1).
  • Go to Settings > Translations and the new language should appear automatically.

To add a new language for the admin area, follow the exact same steps, but use folder admin instead. New languages will not be lost or deleted on plugin updates.

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 &.
  • You can add missing translation strings also by code. Edit the language files located in supportboard\resources\languages. After editing a file, the new strings will be visible under Settings > Translations. Remember to click Save changes in order to preserve your translations and avoid losing them when Support Board is updated.
What are your feelings
Scroll to Top