Display header and footer in 2 languages

I have solved the problem of including header and footer of the website( developed in asp.net)in the blog (developed in wordpress)by taking the suggestions from professionals in my previous question Integrate wordpress blog into asp.net website

Now the header ( the sprites menu section) and footer (has three columns: products, menu and contact-us)are displaying in one language .

Read More

Can i have header.php and footer.php in 2 languages(English and French)?

I have used polylang plugin for multilang. But i have not used dashboard or widgets to display main menu and footer. I have included the code in header.php and footer.php

Related posts

Leave a Reply

1 comment

  1. The answer will depend on the way that WordPress implement the multilingual interface. Howver, the common way to implement multilingual is to supply a url parameter indicates the current active language like this example. You will find something like:

    mysite.com/fr/ for French section
    

    So, by using AJAX you could able to get the footer of the other language and place it with your current language footer. In other word, this solution depends on AJAX.