Background of the issue:
I am experiencing issues with translations on my site hidden link. There are weird codes appearing in some translations, and images are not showing. I suspect that during a translation, WPML couldn't recognize the code character and replaced it with something else. Here is an example of the code: ">.
Symptoms:
Weird codes appear in translations, and images are not displayed.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Since the WordPress editor encodes HTML entities, and these get decoded when switching between Text and Visual tabs, there’s unfortunately not much that can be done directly within the editor.
Workaround:
You can register a shortcode for this markup and use the shortcode in place of the actual HTML.
After that, the page can be translated with ATE without issues.
Then open both of the following pages in the Advanced Translation Editor and simply re-save them:
hidden link hidden link
Let us know if that works.
The topic ‘[Closed] There are weird codes for some translations’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.