/WPML-Persistence

Ensures languages are persistent across a session and dont reset when a url doesnt include the language variable. Useful when using AJAX or you simply want to ensure that people dont accidentally hit a wrong link and end up on the wrong language.

Primary LanguagePHP

Note that this plugin is still very experimental. It works perfectly on my own environment and should in theory also work on yours, but I make no guarantees.

TODO

  • Use the existing URL structure to validate if the visitor is trying to change the language.
  • Add options to widget
  • Hook into the flow at an earlier time to prevent executing costly queries when unnecessary.