Translating the BuddyBoss Theme

You might want to change the text, labels and notices seen throughout BuddyBoss Theme, for example if your site is in another language. This page explains how to use a language translation file to customize all text instances found in BuddyBoss Theme. You do not want to modify the text in the code of the actual theme, as it will all be removed as soon as you update the theme. You need to modify text using the included language translation files. This is the same method used in all WordPress plugins.


Automatic Translation via Loco Translate

We recommend using the Loco Translate plugin to translate all text found in the BuddyBoss Theme language files.

Setting up the plugin

  1. Download the Loco Translate plugin from the link below
    https://wordpress.org/plugins/loco-translate/

  2. Extract the downloaded loco-translate.zip file to the WordPress plugins folder yourhostname/wordpress/wp-content/plugins OR
    Go to your WordPress Dashboard > Plugins > Add New. Click the Upload Plugin button. Browse to the download file location, select the loco-translate.zip & install the plugin.

  3. Click the Activate Plugin button to activate the Loco Translate plugin on your website. OR
    To activate the plugin on your website site go to WordPress Dashboard > Plugins and then click the Activate button for Loco Translate.

Loco Translate - Activating the plugin

  1. Go to WordPress Dashboard > Loco Translate > Themes.

  2. Select the preferred theme for translating.

Loco Translate  - Translating Themes

  1. Click the New Language button to add translations for text and labels in the theme.

Changing theme language - Adding a new language translation

  1. Select the language for the translation. This will be the current language of your WordPress installation.

  2. Select the location for the translation file on your website’s server. Make sure you choose System for a smooth translation experience.

  3. Click the Start translating button.

Changing theme language - Adding translations for the BuddyBoss Theme

  1. Search the preferred text and enter the translation text in language translation text area and then click the Save button.
    Similarly, translate the preferred text and labels in the theme.

Changing theme language - Translating text and labels in the theme


Troubleshooting

I am unable to re-translate my theme

After translating the theme, when you go back to translate it again you might find that your translation file is no longer listed for the theme. If this happens, in Loco Translate click on the theme link and then click on the “Setup” tab. Click the “Reset Config” button. Now everything should work again.

Related Articles