Establishing a Multilingual Community Site
Once you have created your site using your desired WordPress language, you can also add different language translations to your community site. This will help users of your community site access the site in languages they are comfortable with.
Step 1: Installing the Required Plugins
To begin with, install the BuddyPress Multilingual plugin from the Plugins > Add New section within your WordPress dashboard.
Once this is done, you can then purchase and download a copy of the WPML plugin and have it installed.
Step 2: Configure WPML
WPML automatically detects the WordPress language to your site in the content language section.
Within the next step, specify the languages that you want to enable for your site.
You will then see the language switcher within the next step.
Here you can order the languages via drag and drop.
The sections below will then allow you to add a language switcher to the menu, widget and footer sections. In addition, you can also add links to the posts translations.
Within the final process, you will need to fill in your site key and click on the register button:
Step 3: Translating Themes and Plugins
Navigate to the WPML > Themes and Plugins Localization section
Scan Strings on the BuddyBuilder and BuddyPress plugins
Once you are done with the scan on the plugins and themes you wish to translate, navigate to the WPML > String Translation section and translate the Strings to the various languages you selected. This can be achieved by clicking on the plus icon beside the String
Step 4: Translating Default BuddyPress Pages
Navigate to the pages section within your WordPress dashboard and translate the BuddyPress pages to the various languages in place. You can use the filter bar on top to select the content which you wish to view for translation.
You will then need to translate the pages by clicking on the “plus” icon beside the pages.
Once you are done translating the pages, you should have a view of the pages within their respective language grouping.
Step 5: Translating Profile Fields
Custom user Profile fields added via BuddPress can also be translated to the various languages. This can be achieved from the WPML > String Translation section. Below is a sample:
Translations can be created by clicking on the “plus” icons.