Skip to content

Load projects in the correct locale - #1633

Merged
zetter-rpf merged 1 commit into
mainfrom
load-projects-in-correct-locale
Sep 10, 2026
Merged

Load projects in the correct locale#1633
zetter-rpf merged 1 commit into
mainfrom
load-projects-in-correct-locale

Conversation

@zetter-rpf

@zetter-rpf zetter-rpf commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Related to: https://github.com/RaspberryPiFoundation/digital-editor-issues/issues/1800
Corresponding API PR: RaspberryPiFoundation/editor-api#1010

Some project identifiers are shared between locales, this is the case for the Experience CS preview page. We need to send the locale with the request to load the correct project.

Note that we could alternatively set cookies and send them with the request (this is what ExCS does).

This doesn't apply to saving yet as editable projects only exist in one locale for now.

Some project identifiers are shared between locales, this is the case for the Experience CS preview page. We need to send the locale with the request to load the correct project.

Note that we could alternatively set cookies and send them with the request (this is what ExCS does).

This doesn't apply to saving yet as editable projects only exist in one locale for now.
@zetter-rpf
zetter-rpf merged commit 8d6a87c into main Sep 10, 2026
11 checks passed
@zetter-rpf
zetter-rpf deleted the load-projects-in-correct-locale branch September 10, 2026 15:34
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.

2 participants