Elegant way to set up routes for a website that may be multi-lingual

This might help and allows different language ‘schemes’ without collision. It does what you do in the example but also

  • supports nesting
  • rewrites all links to stay in the local scope
  • allows custom assigns per locale-scope

It’s development is young, but development active. So if you need something that’s in the libs alley, please let me know.

2 Likes