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 (184 downloads)
Downloads: 2,876
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 2,881 Downloads
1.2.0-pl Jan, 14 2017 jako 519
1.1.3-pl Dec, 02 2016 jako 107
1.1.2-pl Nov, 25 2016 jako 58
1.1.1-pl Oct, 23 2016 jako 120
1.1.0-pl Oct, 16 2016 jako 94
1.0.8-pl Oct, 06 2016 jako 89
1.0.7-pl Oct, 05 2016 jako 61
1.0.6-pl Apr, 07 2016 jako 281
1.0.5-pl Mar, 10 2016 jako 136
1.0.4-pl Mar, 03 2016 jako 95
1.0.3-pl Sep, 03 2015 jako 426
1.0.2-pl Jun, 27 2015 jako 209
1.0.1-pl Mar, 30 2015 jako 296
1.0.0-pl Feb, 11 2015 jako 206