Jako / LangRouter

Language context router for use with Babel in MODX Revolution
https://jako.github.io/LangRouter/
GNU General Public License v2.0
10 stars 4 forks source link

Default context and cultureKey #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

The default context is "web". Its cultureKey is "de". The routing fails because it tries to prepare a context of "de".

How does this variation on the router map the default context's cultureKey to the actual context key?

I handled the problem in gadamiak's original plugin here https://gist.github.com/gadamiak/3812853#gistcomment-1349670

Jako commented 8 years ago

The fix will be available with version 1.0.4