This thread is resolved. Here is a description of the problem and solution.
Problem:
Unable to translate breadcrumbs for post types created using ACF Custom Post Types
Solution:
- Go to WPML->Translation Management
- Search Post Type Labels for {{postype}} and send it to translations
- Translate it.
Relevant Documentation:
https://wpml.org/errata/advanced-custom-fields-6-1-custom-post-types-and-custom-taxonomies-labels-not-translatable-yet/
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
This topic contains 10 replies, has 3 voices.
Last updated by Shekhar Bhandari 6 months, 3 weeks ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
April 22, 2024 at 12:18 pm #15550168 | |
PA_Facts_2000 |
I noticed a post type wasn't translatable so I changed it in the custom post type translation settings. Than I translated some strings, but now I cannot open any of my translated pages due to too much redirects. I checked and I get 19 redirects on hidden link for example. I looks like most of my custom post types are unavailable. I cannot open brands or news, but I can open downloads.. I emptied the WPML cache but that didn't work. How can I fix this? |
April 22, 2024 at 12:30 pm #15550286 | |
PA_Facts_2000 |
I see it all happens when changing: 'Post types (acf-post-type)' to translatable (all items). I changed it because I need to translate a H1 for the news page. hidden link It is still called the Dutch title.. What can I do to fix this? |
April 23, 2024 at 3:41 am #15553411 | |
Long Nguyen Supporter
Languages: English (English ) Timezone: Asia/Ho_Chi_Minh (GMT+07:00) |
Hi Pyter, Thank you for reaching out to WPML support. While you're waiting for one of my colleagues to handle this ticket, let me offer you some initial debugging steps to assist with the issue promptly. The post type "acf-post-type" should not be set to Translatable, it is set to "Not Translatable" by default. Regarding the page header is still in the Dutch language "Actueel", I see the archive page is built with Avada Fusion builder. You can edit the layout, check the archive page header and re-translate the layout to see if helps. Refer documentation https://wpml.org/documentation/theme-compatibility/using-wpml-with-the-avada-theme/ Looking forward to your reply. |
April 23, 2024 at 11:42 am #15555611 | |
PA_Facts_2000 |
The issue is inside the dynamic 'Title'.. somehow I don't get it translated. But I changed the title to plain text. Now I can translate it! But I still have an issue with the breadcrumbs.. the shown post type is still called: actueel.. I tried everything to get this translated into English or one of the other languages.. |
April 23, 2024 at 2:45 pm #15556906 | |
PA_Facts_2000 |
Does it have to do something with this thread: https://wpml.org/forums/topic/some-rankmath-seo-titles-cant-be-translated/? I dont have any options in the custom term meta translations, I have no options whatsoever to translate the archive titles.. |
April 24, 2024 at 4:46 am #15558628 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, In most cases the breadcrumbs should fetch the page translations, so can you check if the page title is translated properly? Further, if the problem exists, I would like to take a closer look. To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site. So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. This info is private and available to you and WPML supporters only. Note: Look forward to your reply. Thanks |
April 24, 2024 at 9:13 am #15559643 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, The post type is added using Advanced Custom Fields, hidden link To translate Advanced custom fields with WPML properly, you will need to install Advanced Custom Fields Multilingual so can you please install it and then search for the labels in WPML->String Translations. You can download the plugin from here: hidden link Look forward to your reply. Thanks |
April 24, 2024 at 12:07 pm #15560685 | |
PA_Facts_2000 |
Alright, in another ticket I had to delete something about ACFML. I reinstalled it and now I had two plugins.. I deleted the oldest version and activated the new one. But this isn't solving my problem. There are no breadcrumb options in the translator. You send me the ACF 6.1 post types and taxonomies not translatable yet.. I have seen this problem earlier. When is there a solution? I have a newly build website and the customer will not accept Dutch post types on the English or whatever language.. This is something critical WPML should solve, especially because the origin is March 2023! |
April 25, 2024 at 4:48 am #15563173 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, The label translations are solved in the latest version, please check this video: hidden link I followed the steps and then when the labels were translated, it showed in breadcrumbs properly, you will need to clear the cache. hidden link Let me know if this helps. Thanks |
April 25, 2024 at 7:21 am #15563637 | |
PA_Facts_2000 |
Hi Shekhar, Thank you for your explanation, this does translate the breadcrumbs thanks! hidden link |
April 25, 2024 at 7:25 am #15563646 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Did you cleared the cache before testing, can you see if this URL shows correct translations? hidden link Look forward to your reply. Thanks |
April 25, 2024 at 7:27 am #15563651 | |
PA_Facts_2000 |
Nevermind, I changed some things in the default Dutch version and then retranslated the German. Now it works |