WPML

Overview of the Issue

When using OceanWP with WPML, the custom templates that you choose in the Customizer, such as the 404 page and the custom navigation, show in the default language on translated pages.

Workaround

  1. Translate each template that you use (for example the 404 page and the custom navigation templates).
  2. For the custom navigation template, first go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <admin-texts>
        <key name="theme_mods_oceanwp">
          <key name="ocean_custom_nav_template" />
        </key>
      </admin-texts>
    </wpml-config>
  3. Go to WPMLString Translation and find the [theme_mods_oceanwp]ocean_*_template strings.
  4. For each language, enter the ID of the translated template as the translation.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.