- Issue created by @kurttrowbridge
- Merge request !5Pulled langcode from URL path prefix instead of query parameter β (Open) created by kurttrowbridge
Hello! This one is just a thought based on other decoupled-related modules I interacted with on a recent project, and how things like JSON:API handle translations: would it make sense to pull the language code from the URL path instead of a query parameter?
For example, instead of getting a Spanish translation via /ejson/node/UUID?lang=es
, you could do so with /es/ejson/node/UUID
. I'll add an MR with it.
Just a thought! Thanks again for how helpful this module has been.
Active
1.1
Code