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 more information please read the documentation.