LangRouter 1.3.0-pl

LangRouter 1.3.0-pl

Released Nov 13, 2017 by jako

Language Router for Babel that uses the browser HTTP_ACCEPT_LANGUAGE header. LangRouter works with so called subfolder based setup.

Download 36kb (667 downloads)
Downloads: 4,054
License: GPLv2
Requires Revolution 2.2.x or greater
Supports mysql

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

Installation Instructions

Install through the MODX package manager.

  • 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
Version Released Author Downloads
15 Versions 1 Contributors 4,059 Downloads
1.2.0-pl Jan, 14 2017 jako 562
1.1.3-pl Dec, 02 2016 jako 145
1.1.2-pl Nov, 25 2016 jako 107
1.1.1-pl Oct, 23 2016 jako 164
1.1.0-pl Oct, 16 2016 jako 134
1.0.8-pl Oct, 06 2016 jako 129
1.0.7-pl Oct, 05 2016 jako 114
1.0.6-pl Apr, 07 2016 jako 378
1.0.5-pl Mar, 10 2016 jako 182
1.0.4-pl Mar, 03 2016 jako 159
1.0.3-pl Sep, 03 2015 jako 470
1.0.2-pl Jun, 27 2015 jako 257
1.0.1-pl Mar, 30 2015 jako 340
1.0.0-pl Feb, 11 2015 jako 251