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 (371 downloads)
Downloads: 3,305
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,310 Downloads
1.2.0-pl Jan, 14 2017 jako 541
1.1.3-pl Dec, 02 2016 jako 123
1.1.2-pl Nov, 25 2016 jako 74
1.1.1-pl Oct, 23 2016 jako 140
1.1.0-pl Oct, 16 2016 jako 107
1.0.8-pl Oct, 06 2016 jako 108
1.0.7-pl Oct, 05 2016 jako 84
1.0.6-pl Apr, 07 2016 jako 294
1.0.5-pl Mar, 10 2016 jako 148
1.0.4-pl Mar, 03 2016 jako 118
1.0.3-pl Sep, 03 2015 jako 437
1.0.2-pl Jun, 27 2015 jako 228
1.0.1-pl Mar, 30 2015 jako 311
1.0.0-pl Feb, 11 2015 jako 226