Skip to content

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.

Notifications You must be signed in to change notification settings

Naatan/WPML-Persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages