Support » Plugin: Widget Logic » WPML and multilingual site

  • Resolved MacItaly


    Hi Alan,
    any way to recognize the language used in site, to show different widget per different languages?
    I cannot find a conditional tag that determine lang or, may be, also some string on path could be enough.
    I use WPML and it creates path like
    Did I missed something or it’s impossible with WL?
    Some other plugin recognize it, so, somewhere, hidden…
    Any help will be appreciated, thanks in advance.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Ov3rfly


    WPML offers detailed instructions for this:

    Howto Display Different Widgets Per Language



    Thanks Ov3rfly,
    I completely missed that thread 🙂
    So the answer is yes, there is a conditional tag and it is: “ICL_LANGUAGE_CODE == ‘en'” where “en” is the language code.
    I’ll try asap but no doubt that it works correctly.
    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPML and multilingual site’ is closed to new replies.