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 (558 downloads)
Downloads: 3,732
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 3,737 Downloads
1.2.0-pl Jan, 14 2017 jako 550
1.1.3-pl Dec, 02 2016 jako 137
1.1.2-pl Nov, 25 2016 jako 95
1.1.1-pl Oct, 23 2016 jako 152
1.1.0-pl Oct, 16 2016 jako 122
1.0.8-pl Oct, 06 2016 jako 118
1.0.7-pl Oct, 05 2016 jako 103
1.0.6-pl Apr, 07 2016 jako 347
1.0.5-pl Mar, 10 2016 jako 161
1.0.4-pl Mar, 03 2016 jako 131
1.0.3-pl Sep, 03 2015 jako 453
1.0.2-pl Jun, 27 2015 jako 245
1.0.1-pl Mar, 30 2015 jako 326
1.0.0-pl Feb, 11 2015 jako 239