This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where translated articles were appearing in every domain's article flow instead of being restricted to their respective language domains. Solution: First, we ensured that WPML was active and that the front page template code included the necessary adjustments. We added
'suppress_filters' => 'false'
to the query arguments to ensure that the filters are not suppressed, which is essential for WPML to filter content by language. Next, we navigated to WPML-> Settings-> Post Type Translation section and set the posts to "Translatable - only show translated items". This ensures that only the posts translated into the current language are displayed on the site.
If you're experiencing a similar issue, we recommend you try the following steps: 1. Activate WPML if it's not already active. 2. Ensure that your front page template code does not suppress filters by adding
'suppress_filters' => 'false'
to your query arguments. 3. Go to WPML-> Settings-> Post Type Translation and set your posts to "Translatable - only show translated items".
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, 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.
When translating articles and posting them all translations appear in every domains article flow and not on each page, how do we set this up correctly? (original domain kimura.se)
Thanks for contacting WPML forums support. I'll be glad to help you today.
1) First of all, sorry for the late reply; it was due to a higher workload. Please go to WPML-> Settings-> Post Type Translation, and set the posts to "Translatable - Show Only Translatable Items".
If that didn't help, please share screenshots or a screen-recorded video while reproducing the issue.
2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.
As you can see in the images, when adding the translation from Swedish (original language) to English both articles appear in the flow on the Swedish version of the site.
All the Swedish articles are in the flow of the English version of the site aswell.
So all translations appear in all versions of the site for some reason 🙂
Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Ill try to recreate the issue on our staging site. I have one question though, since the live site is connected to the custom domains, should I do subdirectories for the translated sites on the staging site? Since both sites cant use the custom domain and we dont want to re-configurate the domain settings.
Thanks for the access details. I tried to deactivate the plugins to check for a plugin conflict, but I got a fatal error caused by your theme. Please deactivate your theme using FTP access.
1) You use a custom theme, which could be part of the issue because the issue won't happen using a standard WordPress theme or a page builder.
2) I created a new sandbox site with ACF installed and your field groups and post types imported. Please log in to this sandbox site and install your theme. (hidden link)
After that, please create a test post and translate it to replicate the issue.