D10 Compatibility + Support overriding langcode ids in parameters

Created on 2 January 2024, 9 months ago
Updated 29 January 2024, 8 months ago

Problem/Motivation

I'm interested in a D10 version of this module. But I also need the ability to override certain langcode ids (similar to how the URL prefix language negotiation feature works).

Remaining tasks

  • Update the module (and test) for compatibility with D10.
  • Add support for overriding langcode ids with custom, user-provided values in the URL query string

User interface changes

Adds a new form with the language override fields based on the currently supported languages (borrowed heavily from the url prefix negotiation feature).

URL in the above screenshot is:
/admin/config/regional/language/detection/url-query?language=zh_CN

where the "language=zh_CN" query parameter is the overridden value for Chinese (zh-hans).

API changes

None

Data model changes

Adds new value in the module's configuration schema to support the overrides values.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States merauluka

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