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 (22 downloads)
Downloads: 2,597
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,602 Downloads
1.2.0-pl Jan, 14 2017 jako 504
1.1.3-pl Dec, 02 2016 jako 101
1.1.2-pl Nov, 25 2016 jako 54
1.1.1-pl Oct, 23 2016 jako 115
1.1.0-pl Oct, 16 2016 jako 88
1.0.8-pl Oct, 06 2016 jako 79
1.0.7-pl Oct, 05 2016 jako 58
1.0.6-pl Apr, 07 2016 jako 274
1.0.5-pl Mar, 10 2016 jako 124
1.0.4-pl Mar, 03 2016 jako 85
1.0.3-pl Sep, 03 2015 jako 419
1.0.2-pl Jun, 27 2015 jako 202
1.0.1-pl Mar, 30 2015 jako 282
1.0.0-pl Feb, 11 2015 jako 195