The ElementsKit plugin has Elements that contain Sub-Elements such as Advanced Toggle or Off Canvas.
How to Translate Elements containing Sub-Elements ( Advanced Toggle or Off Canvas) #
To be able to translate the sub-elements part of such elements, follow the steps below:
Set the sub-elements as translatable #
- Go to WPML > Settings > Post Types Translation.
- Find the Templates (elementskit_template) post type.
- Set it to Translatable (only show translated items).
- Click the Save button.
Alternative:
Alternatively, you can add the XML code below to WPML > Settings > Custom XML Configuration (tab):
<wpml-config> <custom-types> <custom-type translate=”1″>elementskit_content</custom-type> </custom-types> </wpml-config> |
Click the Save button.
Translate the Sub-Elements. #
- Go to WPML > Translation Management > Dashboard (tab)
- Select the ElementsKit Item at the top filter.
- Click the Filter button.
- All Sub-Elements will show in the list.
- Select the Sub-Elements and click the blue button at the bottom to send to translation.
- Go to WPML > Translations.
- Take the Sub-Element for translation to be redirected to the Advanced Translation Editor.
- In the editor, copy the title exactly like it is in the original language.
- Translate the rest of the content as you wish and complete the translation.
- Check the screenshot below.