[resolved] Remeber Language Selection (2 posts)

  1. HarroH
    Posted 3 years ago #

    Hi All,

    Is there a function / option / out of the box solution to remember the previous selected option?

    Switching languages works fine but when the visitor selects another language then the default language it doesn't remember the selection when the visitors returns or goes to a page that doesn't has lang=[iso_tag] behind the path.

    Anyone any suggestions?


  2. Marcel Andrew
    Posted 3 years ago #

    When query (in url) contains lang=xx_yy the result sub-selects posts in this target language.
    Without using $_GET, if in your theme (header or elsewhere) you need to use current langue, use the function the_curlang()...

    Today xili-language in his free version don't contain cookies or similar techniques to trace visitors.

    Other functions are available here : http://wiki.xiligroup.org/index.php/Xili-language:_functions

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • xili-language
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.