This thread is resolved. Here is a description of the problem and solution.
Problem:
The client developed custom SiteOrigin widgets on a custom theme and configured the wpml-config.xml to translate widget content. However, the custom widget content is not translating, even though the page content is.
Solution:
We recommend updating your wpml-config.xml with the following XML code to make your widget compatible with WPML:
<wpml-config> <siteorigin-widgets> <widget name="SOW_Card_Widget"> <fields> <field type="Title" editor_type="LINE">titulo</field> <field type="Content" editor_type="VISUAL">descripcion</field> <field type="Link Text" editor_type="LINE">section_link>label</field> <field type="Link Text" editor_type="LINK">section_link>url</field> </fields> </widget> </siteorigin-widgets> </wpml-config>
You can use the following repository as a guide for your other widget compatibility codes:
Please note that this is considered a custom code request and is outside of our support scope. We did our best to show how it is done for one widget but we will not be able to provide code for other widgets. You are welcome to use the resources provided in the reply to find the correct code.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML Support Forum.
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.
This topic contains 0 replies, has 0 voices.
Last updated by 4 weeks, 1 day ago.
Assisted by: Christopher Amirian.