Translation introduction

Translate for single language

If there is single language in your website, you could translate the po/mo file by Loco Translate WordPress plugin(check the DOC) or Poedit.

There are the two main pot files:

/themes/sea-theme/languages/sea-theme.pot 
/plugins/bm-builder/languages/bm-builder.pot

Tips: please make the boxes empty in “SEA Theme > Theme Options > General Settings: Descriptions”.

Website with Multi-language

It is recommended to use the popular WPML wp plugin if you want to make a multi-language site. There is the documentation of WPML.

Translate pages

  1. Created a new page(make sure under default language), activate builder editor, put in some modules, click publish.
  2. Check ‘Duplicate’ checkbox and click “Duplicate” (see the screenshot below) at the right sidebar. “Duplicate” button would be displayed after checking the checkbox. Click the pencil icon to translate the page.
  3. For a page created by BM Content builder. Please don’t translate the origin modules. You need to clone the modules what need to be translated also. Translate the cloned modules.
  1. Install the plugin WPML String Translation.
  2. Go to left navigation: WPML/String Translation.
  3. Pickup “admin_texts_ux_theme_option” in selector “Select strings within domain”. The strings will show.
  4. Click “translations” of every string item, enter the target translated words, check on “Translation is complete” and save it.

Set the language Switcher

There are two ways:

1. To show the Switcher by menu. Go to WPML > Languages, click “+ Add a new language Switcher to a menu”:

The options panel will popup:

Select a menu, set what’s elements(language name, flag) shown, position, color. The Switcher could be shown in the selected menu. The “Dropdown” style doesn’t support footer menu.

2. To show the Switcher by footer element. Go to SEA Theme > Theme Options > Layout : choose the “WPML Switcher” for “Footer Elements”, the Switcher(Flag) will be shown on footer:

Was this article helpful?