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: Compatibility, Documentation request
This topic contains 0 replies, has 2 voices.
Last updated by 7107 Digital 18 minutes ago.
Assisted by: Itamar.
Author | Posts |
---|---|
November 17, 2024 at 10:25 am #16411549 | |
7107 Digital |
Background of the issue: Symptoms: Questions: |
November 17, 2024 at 8:03 pm #16412081 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, The setting 'Translatable, use translation if available or fallback to default language' should allow you to achieve that. The WordPress version on your site is the recent version 6.7. However, WPML and Strings Translation must be updated to the latest versions compatible with WP 6.7. We recently released WPML 4.6.14 and Strings Translation 3.2.15. Please update our plugins and check if it solves the problem. If you don't see the new versions in the plugins section, please go to the following location on your site and click the 'Check for updates' button. If the above does not help, please give me access to your site and explain how to see this problem. I'm enabling a private message for the following reply. |
November 18, 2024 at 10:43 am #16414148 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, and thanks for the access details. Is this the correct page to see that problem? hidden link If I switch the language to something other than English, no projects appear, except Chinese, which shows 4 projects. Can you please confirm? I also tried to set the project taxonomies accordingly. The taxonomies are Categories, Typology, Services, Regions, and Scales. In WPML -> Settings -> Taxonomy Translation, I could see that Services, Regions, and Scales were set to not translatable, so I changed them to 'Translatable, use translation if available or fallback to default language'. Please see the attached screenshot. This, unfortunately, didn't help. In WPML -> Taxonomy Translation, I selected Categories. I could see that Featured Projects was only translated to Chinese, so I copied the term to all the languages. Please see the attached screenshot. This, unfortunately, also didn't help. I also wonder why Categories of Projects are mixed with the WP regular post categories. Something seems wrong about it. Can you please tell me which plugin adds the projects' custom post type and its taxonomies? Please read the following guide on Displaying Untranslated Content in Secondary Languages and ensure you set everything correctly. Regards, |
November 18, 2024 at 12:49 pm #16414864 | |
7107 Digital |
So yes, I have 78 projects. 10 of them have been translated into all languages, but so far I have only put in 4 of them in Chinese. If I have not put in the translations yet, I want to see the English version instead. How can I do this? The posts are created using the WCK custom post plugin: |
November 19, 2024 at 1:46 am #16417236 | |
7107 Digital |
I'm still confused by the link you sent. For sure I don't want to duplicate content because I don't want other languages to change when the default language is updated. However, I also want the default language to show if there is no translation but it says in the guide: "For example, in WooCommerce, if you have the Translatable – use translation if available or fallback to default language setting enabled, you won’t see any items on the archive page for your taxonomies in the secondary language. You must change settings for your products to Duplicate. After this, you can use translated taxonomies on your product pages." Which seems to suggest that I can't do what I want? Sorry, I'm confused how to achieve what I need. For sure it's budgetary/ time related as there are not enough resources to translate all 78 projects into 7 languages, but the main ones are ready to go. Thank you |
November 19, 2024 at 1:01 pm #16419753 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, I've further investigated this issue on your site, and I think the problem is with the page's search feature. I think this feature is added using the Ajax Search Pro plugin. Please see the attached screenshot. Can you please confirm this? My investigation included testing if the archive pages of the project taxonomies work. For English, the default language, it works. For example, I checked the Typology 360 term archive page hidden link. So, I translated the 360 term into French (I copied the term name as it is just a number.) And I can see that the archive page in French is working alright - hidden link. There are two 360 projects showing. If you click them, you will see the project. For example, here hidden link. The link is still in French language /fr/, but the content, as expected, is in English. So by this I can conclude that the option 'Translatable, use translation if available or fallback to default language' works. If you confirm this, then we will need to test the Ajax Search Pro plugin on a test site and if needed esclate this issue to our compatibility team. Regards, |
November 20, 2024 at 1:14 am #16422062 | |
7107 Digital |
Hi, Yes I can confirm it's using the Ajax Search Pro plugin. We are migrating this site to live (files already downloaded), so this staging access you have can be used for testing. Thanks, Jan |
November 20, 2024 at 3:00 am #16422163 | |
7107 Digital |
In the meantime, is there any way that we can show all projects in all languages? Even if we duplicate? |
November 20, 2024 at 6:48 pm #16426278 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, Yes, you can use the duplication option and then translate only the project you need. I tested it in French. In WPML -> Translation Management -> Dashboard, I duplicated all the projects into French and then translated one of them, the Tiffany & Co. project. You can see it is working here. hidden link Please see the attached screenshot. Then, when you use the filtering options, it works. For example, you can filter to show only hotels. I recommend you use this method. Please let me know if you have any further questions. Regards, |
November 23, 2024 at 2:58 am #16435543 | |
7107 Digital |
Thanks Itamar, that solved the issue, including with the plugin. |