Skip Navigation
August 13, 2020

OceanWP is a free lightweight multi-purpose WordPress theme. Because it is compatible with well-known page builders such as WPBakery Page Builder, Elementor, and Beaver Builder, you can create beautifully designed websites. OceanWP’s integration with WPML allows you to build multilingual websites effortlessly.

In this tutorial, we demonstrate how to translate every part of the OceanWP theme using WPML.


Getting started

Make sure that the OceanWP theme is activated, by going to the AppearanceThemes page.

Make sure that the WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and WPML Media Translation plugins are activated.

WPML translation tools

WPML offers two translation editors you can use for translating your site’s content:

Besides translating your site content yourself, you can also:

Translating pages

With WPML, you can translate any type of content in your site, including pages and posts. For an easy start, read our Getting Started Guide.

Translating portfolio pages and categories

To translate Portfolio items or any custom post type items, you need to follow the same steps as for translating any other types of pages. Visit our documentation page for exact steps on translating the contents yourself. It is worth mentioning that the Ocean Portfolio plugin is a part of the OceanWP core extension bundle.

Click on the plus icon to translate the Portfolio page

Portfolio Categories can be translated while translating your pages, on the Translation Editor screen. There, you can translate the Portfolio elements as well as your Portfolio Categories.

Additionally, you can translate your Portfolio Categories on the WPMLTaxonomy Translation page. Select the Portfolio Categories from the drop-down menu and a list of your categories will appear. Click the plus icon to translate a category for the respective language and use the dialog box that appears to add your translation.

Translate the categories using the Taxonomy Translation page

Keep in mind that the translations of categories are universal: if you make a change, they will be updated everywhere.

Translating texts from the OceanWP theme, plugins, and other places

Besides contents coming from posts and pages in your site, there are usually some texts coming from other places. Most common examples are themes and plugins. To learn how to translate these texts, read our documentation page about translating strings.

In this example, we will translate the footer copyright text. You can follow these same steps to translate any text listed in the theme options.

    1. To edit the footer copyright text in the default language, navigate to AppearanceCustomizeFooter Bottom, and then edit the text in the Copyright field. Click on the Save & Publish button.
Edit the footer copyright text in the default language
    1. Navigate to WPMLTheme and plugins localization, and then choose OceanWP from the Strings in themes section. Click on the Scan selected themes for strings button.
Scan OceanWP for strings
    1. Navigate to WPMLString Translation and search for the copyright text. Click on the translations link and add your translated text. Then check the Translation is complete box and click the Save button.
Translate the copyright text and save

Translating menus

With WPML, you can easily synchronize your language menus. For more information, please review our complete menus translation tutorial.

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 setup a multilingual store and translate your products, categories, variations, shipping classes, and more.

OceanWP extensions compatibility

OceanWP theme offers a bundle of extensions that allows you to extend the functionality of the theme even further. We have created a detailed guide on translating the textual elements that come from the different OceanWP extensions.

Known Issues

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

Getting help

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

Need help with building and maintaining your site?

If you need help with building or maintaining your site, take a look at our list of WPML Contractors. They are experienced developers specialized in developing multilingual sites.