Skip to content

feat: name phpMyAdmin's language cookie so a language picked in lerd wins - #38

Merged
geodro merged 1 commit into
mainfrom
feat/phpmyadmin-locale-cookie
Sep 28, 2026
Merged

geodro merged 1 commit into
mainfrom
feat/phpmyadmin-locale-cookie

Conversation

@geodro

@geodro geodro commented Sep 28, 2026

Copy link
Copy Markdown
Member

phpMyAdmin keeps the language in pma_lang from its first page on, ahead of the Accept-Language lerd sends. The preset now names that cookie under dashboard_locale_cookies, a schema 2 key lerd 1.36.0 understands. The tree older binaries read keeps the preset unchanged.

…wins

phpMyAdmin stores the language in pma_lang from the first page it serves and reads it ahead of Accept-Language, so a language picked in lerd only reached it until it had been opened once. The preset now names pma_lang and pma_lang_https under dashboard_locale_cookies, which lerd 1.36.0 holds back while a language is picked. The key is new in schema 2, so phpMyAdmin is authored there and the tree older binaries read keeps the preset they already have.
@geodro
geodro requested a review from a team as a code owner September 28, 2026 07:08
@geodro
geodro merged commit f374d53 into main Sep 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant