Allow mixed-case language code in cookie

Created on 27 October 2020, over 4 years ago
Updated 3 July 2025, 12 days ago

Problem/Motivation

This is a use-case I ran into, so here is a solution.

Other systems are setting the language cookie, and some of them use mixed-case language codes, such as pt-BR.

However, we still want the cookie to be useable by language_cookie.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mile23 Seattle, WA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024