Meta Box Lite
Meta Box

How to Translate Meta Box Custom Fields with WPML

WPML is the most popular plugin for translating WordPress websites and is fully compatible with Meta Box. Using WPML, you can easily translate any Meta Box custom field type into more languages and create a multilingual website.

WPML plugin

Step 1: Install and Activate WPML Plugin

First, you need to log in to your WPML account, and download the OTGS Installer, and upload it to your WordPress site via PluginsAdd new.

To start setting up WPML, activate it and go to WPMLSetup Wizard.

Step 2: Set up WPML

The WPML setup wizard is a short process for configuring WPML on your site. It helps you choose which languages to translate your website into, decide whether to use subdirectories or different domains for your translated URLs, and install any additional addons.

Set up WPML

Step 3: Enable Custom Fields for Translation

Once you finish configuring WPML on your site, the next step is to specify which custom fields you want to translate.

To set your translation preferences, go to WPMLSettings and scroll down to Custom Fields Translation. WPML provides four types of actions for each field:

  • Don’t translate: ignore this field and don’t translate;
  • Copy: copy the field value to your secondary language and keep it synchronized with your original value (changes you make in the original language will reflect in your secondary);
  • Copy once : copy the field value to your secondary language but don’t keep it synchronized;
  • Translate: enable this field for translation.

Custom Fields Translation

If you’re using custom post types and taxonomies, make sure to also set their translation preferences. You can find their settings under the Post Types Translation and Taxonomies Translation sections.

Post Types Translation

Step 4: Translate Custom Fields with WPML

WPML translates custom fields along with the content they’re attached to. This means that, to translate your fields, you need to translate your custom posts.

To translate custom posts, go to WPMLTranslation Management, scroll down to your post type, and select the custom posts you want to translate.

 

go to WPML → Translation Management

Next, scroll down to choose your translation method. With WPML, you can translate by yourself, with automatic translation, your team of translators, or translation services.

For the best translation quality, we recommend WPML AI, WPML’s most powerful automatic translation engine powered by ChatGPT.

Once you send your content for translation, the last step is to go to WPMLTranslations to review your automatic translations, or manually enter translations by yourself.

go to WPML → Translations to review your automatic translations

 

When done, you can view your translations by visiting the page you just translated on your website and switching languages.

view your translations on the page

Step 5: Add Language Switcher

By default, WPML includes a language switcher in the footer. However, you can also add one to your menus.

To add a language switcher to your menus, go to WPMLLanguages and scroll down to Menu language switcher. Click the add new menu language switcher button and set your preferences.

Menu language switcher

 

Your new language switcher will now appear next to your navigation menus.

new language switcher appear next to your navigation menus

Translating Other Meta Box Content

In addition to custom fields, WPML can also translate other Meta Box content. This includes settings pages, user meta, term meta, and more.

For step-by-step instructions, visit the complete WPML and Meta Box translation guide.

Final thoughts

It takes a bit time to manually translate custom fields post by post, page by page with WPML. But this will make your website more qualified compared to automatic translation.

WPML still has many other features. I hope that this tutorial is helpful for those who are still struggling with this plugin.

If you want to look for another translation plugin, don't forget to take a look at our detailed reviewed of top 4 plugin to translate your site here.

8 thoughts on “How to Translate Meta Box Custom Fields with WPML

    1. I also have this question. And Meta Box team said they will connect with WPML to complete this function for the Settings page

    1. Hi, MB Blocks extension supports translating multi-language. In your situation, which element do you prefer to translate?

  1. MB Views have the option to be translated (via WPML) but unfortunately, only the default view (english) is showing up in the frontend. What's the correct way to translate views?

Leave a Reply

Your email address will not be published. Required fields are marked *