Pull langcode from URL path instead of query parameter

Created on 22 May 2025, 15 days ago

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.

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kurttrowbridge

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024