This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to translate the hover text of some buttons and call to action elements on a DIVI website from Italian to German and English, but the field to insert the translation does not appear in the WPML translation editor.
Solution:
First, we asked the client to confirm how they were translating the content and whether the hover text appeared in the WPML translation editor. Since the fields were not compatible, we requested access to the site to make them compatible and to send the case to our team for updating the compatibility file. We suspected that the field might be new or recent, which is why it wasn't compatible yet.
We then provided the client with a code snippet to add to the WPML configuration file to allow HTML in certain fields of the DIVI 'call to action' module. The client was instructed to add the module that wasn't translating correctly to a draft page and send it for translation again through WPML > Translation Management after applying the code.
<wpml-config><br /> <shortcodes><br /> <shortcode><br /> <tag>et_pb_cta</tag><br /> <attributes><br /> <attribute>title</attribute><br /> <attribute>admin_label</attribute><br /> <attribute>button_text</attribute><br /> <attribute encoding="allow_html_tags">title_phone</attribute><br /> <attribute encoding="allow_html_tags">title__hover</attribute><br /> <attribute encoding="allow_html_tags">content__hover</attribute><br /> <attribute>title_tablet</attribute><br /> <attribute>button_text_tablet</attribute><br /> <attribute>button_text_phone</attribute><br /> <attribute encoding="allow_html_tags">content_tablet</attribute><br /> <attribute encoding="allow_html_tags">content_phone</attribute><br /> <attribute type="link">button_url</attribute><br /> <attribute type="link">link_option_url</attribute><br /> <attribute type="media-url">background_image</attribute><br /> <attribute type="media-url">background_image__hover</attribute><br /> </attributes><br /> </shortcode><br /> </shortcodes><br /></wpml-config>
If the solution provided here is not relevant to your case, because it might be outdated or not applicable, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us.
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 19 replies, has 2 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Alejandro.