Sticky Links - When Sticky Links is enabled, the link is shown in its raw state after processing the links.
Solution:
This is expected. When the WPML Sticky Links addon is installed and you have enabled it to make your links sticky, then it is expected to see such a URL pattern. WPML makes it to avoid broken links in your content, although internally you will see these links in this format (?post_type=ID) when clicked they are automatically converted into a permalink structure set up in your WordPress Dashboard > Settings > Permalinks settings.
Divi body content is not showing in the Translation Editor.
Solution:
By adding a small change, like adding a dot, to the original language page and then updating it, and then going to the Translation Editor, I could fix this issue.
Solution:
You have to use "ICL_LANGUAGE_CODE" to get your current language.
Here is the sample code/structure
function my_custom_function() {
if(ICL_LANGUAGE_CODE=='en'){
<!--- your code to english--->
} elseif(ICL_LANGUAGE_CODE=='de'){
<!---your code to german--->
} elseif(ICL_LANGUAGE_CODE=='fr'){
<!---your code to french---
Global site tag (gtag.js) - Google Analytics -->
} elseif(ICL_LANGUAGE_CODE=='es'){
<!---your code to spanish--->
}
}
Modify your code according to this and you will get what you want.