You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is: right after clicking on the language selector anchor, the URL is updated correctly, but not the translation text, then after changing it once again it applies the old language.
Ex.
pnpm run dev -> EN (default) -> Click the "ES" selector -> ES (with English text) -> Click the "EN" selector -> EN (with Spanish text)
Expected behavior
No response
Reproduction
Our Example, but with Svelte 5 instead of Svelte 4
Other information
No response
The text was updated successfully, but these errors were encountered:
I identified the issue.
Svelte 5 (unintentionally) changed the behaviour of the {#key} block & moved it in the update order. This caused the language-rerenders to happen before the language state was properly updated.
Problem
From Discord:
Expected behavior
No response
Reproduction
Our Example, but with Svelte 5 instead of Svelte 4
Other information
No response
The text was updated successfully, but these errors were encountered: