Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where the name of a Custom Post Type (CPT) is not displaying correctly in breadcrumbs. Specifically, the translated version of the CPT is not showing up on the page.

Solution:
We have identified this as a known issue related to the Advanced Custom Fields plugin version 6.1, which introduced the ability to register custom post types and custom taxonomies. Currently, WPML does not support translating the labels associated with these features. We have confirmed the problem exists by reproducing it on a test site.

Unfortunately, there is no workaround available at this time. However, we are actively working on a solution to support these new features in the Advanced Custom Fields plugin. We have escalated this matter and are monitoring it closely. While there is no estimated time of arrival for the fix, we recommend bookmarking the errata page at https://wpml.org/errata/advanced-custom-fields-6-1-custom-post-types-and-custom-taxonomies-labels-not-translatable-yet/ to stay updated or subscribe to the comments on that page for notifications.

Once the issue is resolved, we will provide an update through this ticket.

If this solution does not seem relevant to your situation, please do not hesitate to open a new support ticket at our 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.

Tagged: 

This topic contains 17 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
January 16, 2024 at 9:28 am #15188563

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

The reason why it is working in the hidden link, is the custom code added via Code Snippets plugin at hidden link:

jQuery(document).ready(function( $ ){
    // Your code in here
	$('html[lang="en-US"] .jet-breadcrumbs__item a:contains("Ajánlatok")').html('Offers');	
});

I've deactivated this code snippet and you can see the problem is evident on the above mentioned link.

January 16, 2024 at 9:41 am #15188611

Zoltan

Thank you!

I added this snippet to the other website as well (shiraz.hu), so now breadcrumbs are good there too.

January 16, 2024 at 11:54 am #15189609

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Great, please feel free to mark this ticket as resolved then. And keep this errata (https://wpml.org/errata/advanced-custom-fields-6-1-custom-post-types-and-custom-taxonomies-labels-not-translatable-yet/) bookmarked for later references. Once the issue is fixed originally, you may know the solution and can make your adjustments as needed.