This thread is resolved. Here is a description of the problem and solution.
Problem: The client was facing multiple issues with their multilingual site translated using WPML. The specific problems included incorrect application of 'content vertical spacing' across translated pages, non-application of display rules for the 'Culinary Temptations' Kadence element on translated pages, and translated menu items not appearing in the menu using the Kadence query card.
Solution: 1. To address the issue of 'content vertical spacing', we suggested checking the specific sections where this issue appears and making adjustments directly on the translated pages. 2. For the Kadence element 'Culinary Temptations' not displaying correctly, we requested screenshots to better understand the issue. 3. To ensure translated menu items appear using the Kadence query card, we advised manually editing the translated page and adjusting the query in the 'Query Card' module. Additionally, we configured the 'Price and Menu order' custom field to 'Copy' to ensure consistency across languages. 4. We also addressed issues with internal links pointing to the original language by suggesting the translation of these links as per the documentation here: https://wpml.org/faq/how-to-translate-links/ 5. For pages translated but showing no content, we recommended making minor edits in the original language and retranslating to carry over the content to other languages.
If this solution does not resolve your issue, or if it seems outdated or not applicable 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 issues persist, please 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.
Background of the issue:
I have translated my site, hidden link, into 8 languages using WPML AI. I am trying to ensure that the translated pages maintain the same design and functionality as the original site.
Symptoms:
The 'content vertical spacing' is not applied on the translated pages, except for the homepage which I manually fixed. The issue is visible on the menu page. Additionally, the rules for a Kadence element, 'Culinary Temptations', which should show only on mobile, are not applied on the translated pages. Furthermore, the menu items (post type) are translated but do not appear in the menu in the translations using the Kadence query card.
Questions:
How can I ensure that the 'content vertical spacing' is applied on all translated pages?
Why are the rules for the Kadence element 'Culinary Temptations' not applied on translated pages?
How can I make the translated menu items appear in the menu using the Kadence query card?
Thanks for contacting us. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thanks for your reply. I'll try to answer your questions accordingly. Also, I'd like you to know that 0ur support policy allows us to take care of only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.
1.How can I ensure that the 'content vertical spacing' is applied on all translated pages? I'm not so sure what you mean by this one, I've checked here hidden link and are you referring to the white space on the top section of the page?
2.Why are the rules for the Kadence element 'Culinary Temptations' not applied on translated pages? Could you share some screenshots highlighting this section? I'm not sure where I can see this.
3.How can I make the translated menu items appear in the menu using the Kadence query card? I can see the missing menu items here hidden link . Please edit the translated page manually and adjust the query of the "Query Card" module.
4.Please also check the internal links and buttons in content and header as some point to the original language and not the translation language. Could you tell me where can we edit the header section? We need to try translating the link as explained here https://wpml.org/faq/how-to-translate-links/
5.And some pages got translated but no content on them (example: location page has no content in Russian and Spanish) I've edited the Russian Location page and I can see empty contents. Please try making minor edits on the English Language location page and then, retranslate it. This should bring the contents over to the translated languages.
"3.How can I make the translated menu items appear in the menu using the Kadence query card?
I can see the missing menu items here hidden link . Please edit the translated page manually and adjust the query of the "Query Card" module."
The custom post type "Menu" is not available in the translated languages. I added that using the plugin: Post Types Unlimited. And is not available as an option to choose in the query card on the translated pages to show the translated menu items
Thanks for your reply. I’ve edited the Menu post type and was able to reproduce the issue when switching languages using the language switcher. It appears that the Menu custom post type is not fully translated.
I’ve edited the post here: hidden link
When switching languages, I noticed that some information is missing.
Could you try filling in the missing content for the other languages and let me know if this resolves the issue?
Please be more clear on what you suggest i should do please. What exactly did you edit on the page hidden link ? I do not see any change on the staging site and no items in the menu on the translated languages either
Thanks for your reply. I've fixed the issue for you, and all you need to do would be to resave the menu items for your English language here hidden link .
Edit each English language menu item and click save/update.
Once resaved, the translated menu item will show up here hidden link in your translated menu
What I've done is to configure the "Price and Menu order" custom field to "Copy" as shown in the attached screenshot.
Thank you.
1. The menu item photos are not correct in the translations. You saved the salmon, and i saved the ala cream sace, and both items show a wine bottle in the translation.
2. I will have to do these adjustments you made on the live site too, as i already fixed some of the prblems i mentioned on the support ticket and if i push the staging site to live those fixes will be lost
1. I removed the default image here hidden link as shown in the attached screenshot. Now it's showing the correct image now.
2. Maybe you can share access to your production site so that I can apply the fix directly? If you agree, please backup and share the credentials in your next reply.
Thanks for your reply. I've fixed this on your production site. hidden link
The step is a bit long, but I hope you can follow.
1. Navigate to WPML > Settings > Post Types Translation > Configure Post Types (put) to "Not Translatable.
2. Scroll to WPML > Settings > Custom Fields Translation > Check "Show "Multilingual Content Setup" meta box on post edit screen."
3. Edit this page hidden link in Russian(you need to do this on your other languages)
4. In editor, open the list view > Query Loop (adv) > Select the "Selected Query". Configure "Post Types" > Menu Items > Order By Custom Field > Custom Field Key "menu order" > Custom Field Data Type > Number. Results Per page "30"
5. Select Query Card > Select a Selected Card > Columns "1" and Row gap and Column gap MD
Please friend, this will take you 5 minutes but will take me hours and i will definately mess it up! Would you be able to make the adjustments for me this time please?
Yes, great, thank you so much! I went ahead and bulk update all menu items and they show on the menus in all languages now. The left sidebar showing the categories when i select one category does not show anything (some languages and some categories behave different)
New threads created by Kor and linked to this one are listed below:
Thanks for your reply. I'd like you to know that our support policy allows us to take care of only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.