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
- Translate each template that you use (for example the 404 page and the custom navigation templates).
- 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>
- Go to WPMLString Translation and find the
[theme_mods_oceanwp]ocean_*_templatestrings. - For each language, enter the ID of the translated template as the translation.