Resolved
Overview of the issue
When using the yoast_breadcrumb() function to display breadcrumbs, some page links on translated languages may display the original slug instead of the translated one.
This is intentional to have less impact on performance. Note that it redirects to the correct page after clicking on the link.
Workaround
It’s possible to modify this behavior using the following workaround. Please be sure to back up your site before making any changes.
/** * Forces using the full resolution for all calls to `wpml_permalink` hook. * * @param string $url * @param null|string $lang * @param bool $absolute_url * * @return string */ function wpmlsupp_8689_force_full_permalink_conversion( $url, $lang = null, $absolute_url = false ) { static $converting = false; $lang = apply_filters( 'wpml_current_language', NULL ); if ( ! $converting ) { $converting = true; $url = apply_filters( 'wpml_permalink', $url, $lang, true ); $converting = false; } return $url; } // Hook with priority 5 to run before WPML Core filter. add_filter( 'wpml_permalink', 'wpmlsupp_8689_force_full_permalink_conversion', 5, 3 );