Change language of Breadcrumb hover

Hi,

Is there any way to change the language of the hover that says “You are here” on Breadcrumbs:

Thank you!

1 Like

Hello @Sandberg,

Regretfully, there is no option for that at the moment; it would require custom development. I would suggest you please contact a developer who can assist you with your concerns, or you can subscribe to One Total Care service. You can learn more about Total Care here. Please note that we don’t provide custom development support; it is out of the support scope.

Thanks for understanding

Hi again,

Ok, and there is no way to turn it off?

Hello Pontus,

Kindly check out this old thread:

You can reuse the code and change the text to “You are here”.

function custom_text_translate($translated) {
  $translated = str_ireplace('You are here', 'Your Custom Text', $translated); 
  return $translated;
}
add_filter('gettext', 'custom_text_translate' );

kindly let us know how it goes.

Hi

Ok, just to make sure I’m not misunderstanding, I should update the Your Custom Text part of the code to what I want it to say?

function custom_text_translate($translated) {
$translated = str_ireplace(‘You are here’, ‘Your Custom Text’, $translated);
return $translated;
}
add_filter(‘gettext’, ‘custom_text_translate’ );

Thank you!

Yes, that is correct.
Cheers.

It worked, thank you very much!

You’re welcome.