Multilingual Texts in WordPress Theme Options Panel

/, Extensions, Translate Options/Multilingual Texts in WordPress Theme Options Panel

Most of the modern WordPress themes use Customizer to set up the theme appearance and to enter texts that appear in the theme elements. Those texts may form the special home page, or may present in the header and footer, or may be used in some buttons and links.

Some themes, however, still use an “options panel” to enter text strings.

Because those texts are stored in the options database table, and not coming from a page or post, a special procedure is required to let WPGlobus handle multilingual strings.

The instructions below assume that you have already installed and set up the multilingual plugin for WordPress, “WPGlobus“.

1. In the theme->options (settings):

  • Write all texts using special language delimiters:
    Multilingual text in WPGlobus formas
  • Verify that text appears as you entered it on the front page (so, you were in the right place).

2. Install and activate the WPGlobus Translate Options plugin:

https://wordpress.org/plugins/wpglobus-translate-options/

3. In the WPGlobus -> Translate Options:

  • Use the search box to find the string you just typed.
  • Usually, you will find an options key named after your theme.
  • Add that option to the “Add to translation” box and save.

Accesspress Lite - translate options

See if the text is displayed properly now. If everything is OK, continue entering all the texts the same way (with the delimiters).


Sounds confusing? Does not work?

We have a premium add-on, WPGlobus-Plus, which can provide additional help with the theme strings translation.

2018-07-11T12:19:57+00:00 February 4th, 2018|Documentation, Extensions, Translate Options|