Skip Navigation
Updated
June 17, 2024

Learn how to translate OceanWP with WPML and build a multilingual website.

On This Page:

Getting Started

Start by installing and activating the following:

  • OceanWP
  • WPML
  • WPML String Translation

How to Translate OceanWP with WPML

WPML can translate all OceanWP elements. This includes pages, posts, custom posts, widgets, templates, and more.

To translate OceanWP with WPML:

  1. Go to WPML Translation Management.
  2. Select the content you want to translate.
  3. Choose languages and send for translation.

Translating Texts from the OceanWP Theme

Besides pages and posts, your website includes texts that come from other places. This includes texts from your theme (including child themes) and plugins.

To translate these texts:

  1. Go to WPMLTheme and plugins localization.
  2. Scroll down to the Strings in the themes section, select OceanWP, and scan the theme.
  3. Next, go to WPMLString Translation.
  4. Find your texts and enter translations.

Translating Custom Templates

To translate a custom template in OceanWP:

  1. Go to WPMLSettings. In the Post Types Translation section, mark My Library (oceanwp_library) as Translatable.
Setting My Library as translatable
  1. Go to Theme PanelMy Library, and click the Plus icon to translate your custom template using the Advanced Translation Editor.
Click the Plus icon to translate your template
  1. Once your template has been translated, use the admin language switcher to switch to your secondary language. Note the post ID of the translated template.
Getting the post ID of the translated template
  1. Go to WPMLString Translation, and search for the domain [theme_mods_oceanwp]ocean_footer_widgets_template or the post ID of the default language template.
  2. Click the Plus icon and add the post ID of the translated template.

Translating WooCommerce Elements Using WCML

To translate everything that WooCommerce offers, download the WooCommerce Multilingual plugin (WCML) from your WPML account.

Visit our dedicated WCML documentation to learn how to set up a multilingual store and translate your products, categories, variations, shipping classes, and more.

Known Issues

Right now, there are no unresolved compatibility issues between this theme and WPML. Search all known issues.

Getting Help

In case you need help translating your site built using OceanWP and WPML, visit WPML’s support forum.