[Resolved] Exclude specific content on specific from automatic translation
This thread is resolved. Here is a description of the problem and solution.
Problem: You are working on a site and want to exclude certain paragraphs or headings on specific pages from automatic translation using WPML. You have encountered issues where you cannot clear a translation field and save it empty in the ATE, and editing through the WP editor causes the translation to disappear. Solution: Excluding specific paragraphs or headings from automatic translation within the same page using WPML's automatic translation system is not directly possible. To achieve different content on specific translated pages, you can switch from using ATE to the WP editor for those specific pages. This allows you to fully customize the translated versions, including removing content altogether. For detailed steps on how to switch editors and customize translations, please visit Using Different Translation Editors for Different Pages.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am working on a site under development and want to exclude certain paragraphs or headings on specific pages from automatic translation using WPML. This is because some products are not offered in all countries, and therefore texts differ. I have tried editing automatic translations through the ATE and WP editor.
Symptoms:
When I edit an automatic translation through the ATE, I cannot clear a translation field and save it empty. It is not accepted. Additionally, if I edit an automatic translation through the WP editor, the translation disappears, presumably because automatic translation is not available for editing through the WP editor?
Questions:
How can I exclude certain paragraphs or headings or other content on specific pages from automatic translation?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
What you're looking to do isn't directly possible with WPML's automatic translation system. You can’t exclude specific paragraphs or headings from automatic translation within the same page. The ATE doesn’t allow saving empty fields, and editing via the WordPress editor can break the translation sync, as you've noticed.
This lets you switch from using ATE to the WP editor for just those specific pages, so you can fully customize the translated version—including removing content altogether.
Hi Bruno,
that's exactly what I thought. Thank you for confirming that.
That leads me to the following questions:
1. does that mean I cannot make use of automatic translation for those pages? Once I switch a page to the WP editor, automatic translation is no longer an option, am I right?
2. I'm sure this is not the only site around that requires differences in content between languages. Is there a plan to add a bit more flexibility to the ATE/automatic translation system in this regard, so specific content can be excluded?
I realize that is a complex thing. Actually, I suppose it would be better, more flexible and more sturdy, to add the possibility of automatic translation using the WP editor. Is anything like that on the roadmap?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Once a page is switched to the WP editor, automatic translation via ATE is no longer available.
At the moment, there's no built-in way to selectively exclude content from automatic translation. The only related item currently on the roadmap is the ability to exclude certain HTML markers from needing to match across translations — which would help in some cases, but it's not yet available.
The closest workaround for now is segment joining, which might offer some flexibility by allowing you to group certain content together. However, it’s limited — not all segments can be joined, depending on the content structure.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
At the moment, automatic translation combined with the classic WordPress editor isn’t on our roadmap. This is mainly because ATE (Advanced Translation Editor) is an external system and not integrated directly into WordPress. As a result, changes made in one environment aren’t visible or synced with the other.
There’s also a technical limitation around segmentation. If you make more substantial changes directly in WordPress, ATE may not be able to properly match those segments with the original content.
Because of these constraints, a hybrid or back-and-forth workflow between ATE and the classic editor isn’t something we plan to support at this time.
Hi Bruno,
okay. Too bad, but I understand that it is a very complex situation. Good to know exactly what to expect though. Thanks!!
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.