This thread is resolved. Here is a description of the problem and solution.
Problem: If you're using the Uncode Theme and experiencing issues where your translated pages include buttons with internal links not pointing to the correct target language, this might be due to corrupted string packages. This problem was noted especially after editing and saving the original homepage. Solution: First, ensure that all your themes and plugins, including Uncode and WooCommerce, are updated to their latest versions. Then, follow these steps: 1. Navigate to WPML > Packages and delete the existing package for the homepage, which might be corrupted. 2. Edit and save the original homepage to allow WPML to create a new, hopefully uncorrupted, string package. 3. Reapply the translations for the homepage. 4. Repeat the process for any other affected products. If you continue to face issues, it might be helpful to switch the translation method to "WPML Translation Editor" from the WordPress Editor and reapply the translations manually.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your 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. Should problems persist, please do not hesitate to open a new support ticket at WPML support forum for further assistance.
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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
On the English homepage, the only issues that I could currently see were inside the Footer.
I went to Content Blocks > All Content Blocks, edited the original Footer, saved and and applied the translation again. This solved the issue. Note that I have yet only update the English translation of the footer. You will need you still update the other translations.
---
If you see another issue, please name me an exact example.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I've now seen this issue on the translated homepage pages.
However, if I adjust the link directly on the translation in the Page Builder while using the WordPress Editor and then save the page, the issue is solved.
If I update the page's translation, I can't replicate the issue, which is why I can not confirm any bug.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
So far, you have only mentioned one affected section on the homepage, which has two buttons.
I just fixed it on the English homepage, which took me 2 minutes. Fixing this in all languages should take a maximum of 30 minutes.
At the moment, it honestly looks as if someone has manually adjusted some links.
Here is why:
1) Open any affected translated homepage inside the WordPress Editor.
2) Adjust the two button links to point to the correct URLs.
3) Save the page.
At this point, the issue was fixed on my test. Now, to confirm if this is a bug:
4) Edit the original German homepage, save it again, and then update the translation of the page that you edited earlier.
If the issue would occur again now, then we could investigate further, as in this way we could confirm a bug or a possible compatilbity issue between Uncode and WPML.
Anyhow, after taking this test the correct links remain saved on the English homepage, which means that this is not a bug, and likely some user of the website had manually adjusted these links earlier while pointing them to the wrong productor there used to be a bug on the site on the past, which now does not exist anymore.
We need to be able to replicate the issue and know how to trigger it to take further steps. For now, I can sadly only suggest fixing these issues manually.
Also, please test if internal links for this product work as expected when creating a new test post or page.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Yes, exactly. This depends on the custom XML Configuration for the custom widget for WP Bakery coming from the Uncode Theme.
We provide the config for Uncode in this case, and the config includes a type=”link” attribute, which will manage the internal linking. We use this on headings, buttons, CTAs, and more.
1) Create a new page or post with at least one internal link. Make sure that the link refers to content that is translated and published.
2) Translate the page or post
Does the internal linking now work as expected?
If not, let me know, and I will try to recreate the issue to take further steps.
If yes, then I can only suggest manually adjusting the current issue, as they were likely caused due to a user error or caused by a bug that occurred in the past does not occur anymore.
I followed your steps exactly and now there is clear evidence that this is a bug. hidden link I created this page with a button that links to our webdesign product.
I translated the page automatically into all languages. Now, when you click the button on translated pages, again it links to some arabic page. Please investigate
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you for your confirmation!
I would like to take a local copy of your site for further investigation, but I need to ask you to first make sure that all components (theme and plugins) are updated.
If the issue persists after running a new test after running all updates, then please let me know, and I will proceed with taking a copy.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
It seems like WPML has an issue with automatically adjusting the internal links for custom post types like products when using WP Bakery Page Builder's button widget.
The issue does not occur when testing with posts or pages.
Also, this issue occurs as the WP Bakery Page Builder encodes such links, and WPML uses additional code to make the translation possible.
I might need to escalate this issue internally so that our developers can take a closer look at it. But before I take these steps, I will need to set up a new test site and confirm if this is a general issue. I will do this tomorrow and then get back to you.
Workaround:
Make all links translatable by using the following markup at WPML > Settings > Custom XML Configuration:
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I ran a test with the original version of WPBakery Builder and can not confirm the reported issues.
Next, I tried to replicate the issue with Uncode Theme, Uncode Core, and the Uncode WP Bakery Page Builder.
I used WPML's latest beta versions for this test, which can be downloaded if you go to Plugins > Add new and click on the Commercial tab. Now make sure to select the beta channel and install all necessary updates.
While now trying to replicate the issue using Uncode, I can not confirm the same issue on my localhost test site.
Please make sure to test with the latest beta versions of WPML Multilingual CMS, String Translation, and WooCommerce Multilingual & Multicurrency.
Also, note that if you change the WooCommerce Permalink settings, you will still need to update the button links on the original content and then update the translations.