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.
For full details and an example configuration see the documentation.
This project is hosted on GitHub: https://github.com/Jako/LangRouter
New in LangRouter 1.3.0
- Improved context key detection
- Added langrouter.contextKeys and langrouter.contextDefault system setting
- Added handling of cultureKeyAliases context setting
- Bugfix for handling a locale context setting