This thread is resolved. Here is a description of the problem and solution.
Problem:
The client has completed translations for their homepage in Dutch, French, and German, but when viewing the homepage in any language other than English, no content appears, despite the translation edit screens showing 100% completion.
Solution:
We checked the homepage and found that the fields were not copied or translated to the second language. We edited the "Components" field group and set the fields to be copied, which resulted in some content appearing on the Dutch homepage. We recommend the client to:
1. Edit fields that use Expert Mode and ensure the correct translation preference is set.
2. Update the default language page and its translations after changing the translation preferences.
We also provided guides to assist with this process:
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 needed, please open a new support ticket here.
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.
Tagged: Exception
This topic contains 10 replies, has 2 voices.
Last updated by Osama Mersal 9 months, 3 weeks ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
January 29, 2024 at 1:31 pm #15238511 | |
mattW-28 |
I have 100% completed the translation for my homepage, in Dutch, French and German. All translation edits screens show as 100%. I've successfully reset permalinks and ensured that the Settings > Reading options are all as they should be. However, when I view the homepage in anything other than English, I see nothing: hidden link. hidden link, as you see, works and the language switcher is visible, but no content is pulling through? I use ACF pro to essentially create a "page builder". Please help. |
January 29, 2024 at 2:47 pm #15239084 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your answer will be private, meaning only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason 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. Best regards, |
January 29, 2024 at 3:15 pm #15239333 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for the access details. I checked the home page and found that the fields are not copied/translated to the second language, so I edited the "Components" field group and set the fields to be copied. (Kindly check the attached screenshot) After that, some content appeared on the Dutch home page. Please edit your fields that use Expert Mode and make sure that you use the correct translation preference. Kindly check the following guides: 1) Expert mode: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/ 2) Recommended translation preferences: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/ 3) Options page: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/translating-the-acf-options-page-custom-fields-with-wpml/ Kindly note that you need to update the default language page and its translation after changing the translation preferences. Best regards, |
January 29, 2024 at 3:17 pm #15239354 | |
mattW-28 |
Hey, yep I have seen that update, thank you. Still a few other components not showing but I should think I'll be able to resolve those myself. The only other few things are, I have a Theme Settings option page setup—which constructs a header and footer—I have set these to "same across languages", which I thought would fall back to the default language, but it isn't—and as you probably saw, the other languages don't show a header or footer, what am I doing wrong here? |
January 29, 2024 at 3:22 pm #15239378 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Please go to Theme Settings, switch the language from the top admin bar, and translate the fields. Kindly check this guide. ( https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/translating-the-acf-options-page-custom-fields-with-wpml/) Best regards, |
January 29, 2024 at 3:49 pm #15239431 | |
mattW-28 |
Ahh that's a shame that it won't fallback to the default language, but okay. Thank you. I'm still having issues making the "Links" and "Collection" component appear on the screen... could you have a look for me? Also on the Home page, I am seeing this notice: "You need to translate this post manually because the field groups attached to it use different translation options.". Matt |
January 29, 2024 at 3:55 pm #15239454 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Matt, The "Links" field group was set to the Expert mode, and all the fields were set to "Not Translatable", so I set the translation mode to "Same Fields Accros Languages". (hidden link) Please check if the Links group fields work correctly. Best regards, |
January 29, 2024 at 4:05 pm #15239638 | |
mattW-28 |
Okay, I shall take a look. Sorry—couple of other things... 1. In Theme Settings > Header, there's a "logo" field. On English and French, this is set, but when I view the page, only the English (default) version is showing the logo. 2. When I go to edit About Us—it seems to have lost the ability to use the Advanced Editor, I seem to be taken to the default editing screen... |
January 29, 2024 at 4:16 pm #15239746 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, 1) Please check your header code and how you retrieve the image. 2) Please make sure that the WPML Editor is selected in the page edit screen-> language panel. (Kindly check the attached screenshot) Best regards, |
January 29, 2024 at 4:18 pm #15239833 | |
mattW-28 |
1. Yep will do, it's a PHP theme built by myself so hopefully it's just a small bug. 2. Woops, thank you. Am I okay to keep this chat open if I need anything else? You've been extremely helpful and we're on a bit of a short deadline with our client on this one. |
January 29, 2024 at 4:22 pm #15239852 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Sure, you can leave it open and let me know if you need further help regarding the homepage issue. If you have another issue, may I kindly ask you to open a new ticket for your additional question? We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster. Best regards, |