This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needs to prevent WPML from translating a Divi code module on their page, as it breaks the code and displays it as text on the front end.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Modify the code slightly by adding some space characters, then save the page and update the translation. For example, change:
$(document).ready(function(){
to
$( document ).ready( function(){
2. Navigate to WPML > Translation Management, select the page, use the automatic translation, and override the existing translation. The script code should be hidden by default and will not be translated automatically.
If this solution doesn't look relevant, please open a new support ticket.
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 1 replies, has 2 voices.
Last updated by 1 year, 7 months ago.
Assisted by: Long Nguyen.