Translate Breadcrumbs
-
Hello,
I have this code to show my breadcrumbs :
if ( !is_front_page() ) {
echo ‘- ‘ . __(‘Accueil’, LANGUAGE_ZONE) . ‘
‘;
}
My website is in French and English, I would like to have “Accueil” for the french pages and “Home” for the english pages.
How can I add the variable of the lang here to define “Home” or “Accueil” depending on the current language ?
Or do you have any other solution ?Thank you in advance.
Elise
The topic ‘Translate Breadcrumbs’ is closed to new replies.