This thread is resolved. Here is a description of the problem and solution.
I am trying to translate a code block created on a page, via enfold, but the code block doesn't show up in the Translation Editor. Is this a bug? I would expect the code block to show up in the Translation Editor, when editing the secondary language.
The code block of the enfold theme is not set as translatable by default at the wpml-config.xml file (see https://wpml.org/documentation/support/language-configuration-files/). You can change this by adding the following snippet to WPML > Settings > Custom XML Configuration:
<wpml-config> <shortcodes> <shortcode> <tag>av_codeblock</tag> </shortcode> </shortcodes> </wpml-config>
After that, please try the following:
- Go to the edit screen of the page (original language).
- Do a small modification on the page content and save
- Check the translation. The code field should be available now
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.