This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using custom shortcodes on your blog with a custom XML configuration to translate them. You've been using the
ignore-content="1"
attribute to prevent translation of the shortcode content, but this causes the translations not to update when changes are made to the source article's content. Removing the
ignore-content
attribute results in the translation of the content, which breaks the JSON content of the shortcode.
Solution:
Unfortunately, there is no way to set a shortcode to be copied without being translated directly. You can either avoid using any XML configuration, allowing the same shortcode to be used in the translation without alteration, or you can store the content in custom fields and set these fields to COPY. This approach ensures that the content is copied exactly without translation.
If this solution does not resolve your issue or seems outdated, we recommend checking the related known issues and verifying that you have installed the latest versions of themes and plugins. If the problem persists, 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 4 replies, has 1 voice.
Last updated by 1 month, 2 weeks ago.
Assisted by: Dražen.