LangRouter is a language routing plugin for MODx Revolution that is meant to be used with Babel. It takes care of switching contexts that hold the translations, depending on the URL requested by the client.
LangRouter is an installable extended version of https://gist.github.com/gadamiak/3812853. Thanks to gadamiak for the permission to use his code.
Install through the MODX package manager.
New in LangRouter 1.4.1
- Fix not defined MODX_API_MODE
- Fix removing plugin events
- Decrease the timeout in the statistics resolver