Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 142888

Translate Breadcrumbs

$
0
0

Replies: 0

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


    Viewing all articles
    Browse latest Browse all 142888

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>