Home›Support›English Support›[Resolved] Flatsome and WPML issue with Main page and categories, links and menu translation
[Resolved] Flatsome and WPML issue with Main page and categories, links and menu translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with the Flatsome theme and WPML on their website. The default language is German, but when switching to English, the menus remain in German, and some links incorrectly point to German or Dutch pages. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Take a backup of your site first for safety reasons. 2. Ensure you sync the menus by following these steps: - Go to WPML >> WP Menu Sync page and press the Sync button. - Select all the menu items and press the “Apply Changes” button. - Complete the translation of custom menu links. - After translating the custom links, go to WPML >> WP Menu Sync page and press the Sync button again. 3. Go to the WPML >> Settings page and press the “Scan now and adjust links” button. 4. Re-save the permalinks from the Settings >> Permalinks page by pressing the Save Changes button. 5. Delete all sorts of caches including site/server cache, plugin cache, CDN cache, and clear the browser cache. For more detailed instructions, please visit Translating Menus documentation.
If this solution does not resolve your issue, or if it 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. If further assistance is needed, 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 experiencing issues with the Flatsome theme and WPML on my website hidden link. The default language is German, and I am trying to ensure that the English version of the site displays correctly, as some of the links point to either german or dutch pages.
Symptoms:
When I switch to English, the menus on the main page remain in German, and the links in the menus also lead to German pages. Additionally, the second slider link directs to a German product page instead of an English one. On the English main page, hovering over the 'Tab Tower Small' menu button shows a link to a Dutch (NL) language page.
Questions:
How can I ensure that the menus and links display in English when the language is switched?
Why does the second slider link lead to a German product page instead of an English one?
How can I fix the issue where the 'Tab Tower Small' menu button links to a Dutch page instead of English?
Thank you for contacting WPML Support. I can see the issue on your site. Could you please try to follow the below steps and let me know how it goes:
1. Please take a backup of your site first for safety reasons.
2. Please make sure to follow the below procedure to Sync the menus:
2.1. Go to WPML >> WP Menu Sync page and press the Sync button.
2.2. Select all the menu items and press the “Apply Changes” button.
2.3. Please make sure to complete the translation of custom menu links.
2.4. After translating the custom links, go to WPML >> WP Menu Sync page and press the Sync button again.
3. Go to the WPML >> Settings page and press the “Scan now and adjust links” button.
4. Re-save the permalinks from the Settings >> Permalinks page by pressing the Save Changes button.
5. Delete all sorts of caches on your site/server cache if any / plugin cache / CDN cache, clear the browser cache, and then see if it resolves the issue afterward.
Only one issue now remains, and that is some slider links on the main page are not correct.
For example, choosing English, and then clicking on the third slider link (Quick-Tip 30 to 60 Holes. Clicking on More Info will direct to the dutch NL version of this product, not the english.
Also on the english page and click on Hood support caps will direct to the NL product page. As with Tab tower etc. Most links direct to the NL pages.
Glad to hear the menu translation is solved. For the link translation issues, could you please try to follow the below steps:
1. Open the default language home page in Edit mode.
2. Make a small change, for example, add a space or + sign in your page/post title.
3. Update the page by pressing the “Update” button.
4. Now, please remove that small change that did in step #2.
5. Update the page again.
6. Now, please try to open the English translated page in WPML Translation Editor, try to search those links using search input box, add the correct translation if those links exists, also make sure the translation is 100 percent complete, and press the complete button.
If the issue still persists, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private, meaning only you and I can access it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.
I found the Advanced Translation Editor and I am trying to fix a couple of wrong links that remain further down the page.
I also made a small edit on the main page in the default language. Then I opened the page in advanced language editor (eng) but I can not find the link to edit.
Can you help me out here please? I have attached a screenshot.
Made a small change in the default language page to reload the translation, opened the translated English page, searched for the URL and added the translation.
You may follow the same steps for French and Dutch language home page.
Please let me know if this resolves the issue or if you need further assistance with this issue.
This is not working for me and it is very frustrating. I don't know why I can not replicate the same thing you are doing.
Please look at my screenshot and tell me if I am doing something wrong?
1) I first editted the main page in default language... added a dash, saved the page. Editted again, removed the dash and saved.
2) Then I went into WPML, Chose 4th option down.... Translations. There I have 3 versions of the main page in the 3 different languages. I editted them all and the links look like they are correct.
3) went back to the main page but links are still wrong?
I’m sorry for any confusion. The steps you’re following seem correct. The issue is likely with how the links are added in the default language. In the default language, the link is added as a relative URL (e.g., “/produkt/tab-tower-rot/”) as you can see in the attached screenshot, but when searching in the Advanced Translation Editor (ATE), it’s looking for the full URL.
To resolve this, you can either:
1. Add the links with the complete URL (starting with “http”) in the default language, so they show up when searching in ATE.
2. Or, search using the same relative URL (e.g., “/produkt/tab-tower-rot/”) (screenshot attached) as it appears in the default language.
Let me know if this helps, and feel free to ask if you need further assistance.