Search code examples
wordpressmultilingual

Wordpress multilanguage


I have a Wordpress site that is built on Foundation-theme and using Stella for multilingual plugin. When you change language it works great, but when you click "Home" in the menu, you get redirected to default language.

What do I need to do?


Solution

  • Best practice is always provide code. Well,Check you code either the multilingual is maintaining a session in which it stores the current language title like English(en)

    OR

    check your URL may be there is a parameter ?lang=en so you need to place this parameter on each link on your whole site to keep the user in the respective language.
    for Example your logo should be this:

    <a href="/?lang=en"><img src="/images/logo.jpg"/></a>