Language Switcher and HTML output (2 posts)

  1. coriander
    Posted 7 years ago #

    I am building a bilingual (en/fr) site using Language Switcher. Everything works very well with pages and posts, but I also have a customized header.php file which contains a menu structure within a list.

    The menu headings are therefore all standard html output.
    What I am hoping is possible is to use some kind of Language Switcher function in the header.php to decide whether to output this menu structure in English or French. depending on what the visitors preferred language is. I have not yet been able to figure out which Language Switcher function would help me with this, if any.

  2. nlex
    Posted 7 years ago #

    i'm not a specialist but don't you think you need to localise your theme ?

    check LS homepage too

Topic Closed

This topic has been closed to new replies.

About this Topic