10
Multilingual Theme Customization

WordPress - Multilingual Theme Customization

Embed Size (px)

Citation preview

Page 1: WordPress - Multilingual Theme Customization

MultilingualThemeCustomization

Page 2: WordPress - Multilingual Theme Customization

CASE STUDY:ThemeZerif Lite

Page 3: WordPress - Multilingual Theme Customization

Zerif's “presentation” page has several text elements.

Those elements are stored in the `wp_options` database table and are editable via the WordPress Customizer interface.

Page 4: WordPress - Multilingual Theme Customization

The “WPGlobus Translate Options” extension is used to translate the `wp_options` table content.

Zerif stores its options under the theme_mods_zerif-lite name

Page 5: WordPress - Multilingual Theme Customization

We have prepared the WPGlobus configuration file for Zerif Lite theme.

It describes all editable options.

The file should be placed to the languages/themes folder.

Page 6: WordPress - Multilingual Theme Customization

Having the configuration file, WPGlobus shows the language switcher icon in the Customizer.

Click on the icon will show the field placeholders for the alternative languages.

Page 7: WordPress - Multilingual Theme Customization

When you fill in the translations, they will temporarily appear with the {:} language delimiters.

Do not worry. The texts will become normal after the screen refresh.

Page 8: WordPress - Multilingual Theme Customization

Switch the preview language using the WPGlobus menu or widget.

Then, to refresh the screen, click on any menu item and after that – on the “ZERIF” logo, to see the front page, translated.

Page 9: WordPress - Multilingual Theme Customization

After the preview refresh, the Customizer screen will look like this.

Continue filling in all options in all languages....

Page 10: WordPress - Multilingual Theme Customization

.... and finally, the entire front page will become multilingual!

Thank you for using WPGlobus!

http://www.wpglobus.com