Skip to content

fix(cloud-function): redirect preferred locale on static pages#256

Merged
LeoMcA merged 5 commits intomainfrom
136-remember-language-on-homepage
Mar 20, 2026
Merged

fix(cloud-function): redirect preferred locale on static pages#256
LeoMcA merged 5 commits intomainfrom
136-remember-language-on-homepage

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Mar 16, 2026

Description

Redirects static pages to preferred locale (if available).

Motivation

Ensure "Remember language" works as expected on the homepage.

Additional details

Related issues and pull requests

Fixes #136.

@caugner caugner requested a review from a team as a code owner March 16, 2026 13:40
@caugner caugner requested a review from LeoMcA March 16, 2026 13:40
Comment thread cloud-function/src/app.test.js
@caugner caugner requested a review from LeoMcA March 17, 2026 16:49
Copy link
Copy Markdown
Member

@LeoMcA LeoMcA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@LeoMcA LeoMcA merged commit 4863382 into main Mar 20, 2026
6 checks passed
@LeoMcA LeoMcA deleted the 136-remember-language-on-homepage branch March 20, 2026 13:09
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.

Remembered language (preferred locale) is not saved on MDN Homepage after a restart.

3 participants