Server islands don’t respond to i18n language changes, and astro.currentLanguage consistently returns the default locale. This issue doesn’t seem to occur in Astro pages or components.
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
astro.currentLanguage in a Server island consistently returns the default locale
What's the expected result?
astro.currentLanguage to return the correct locale.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
astro.currentLanguage in a Server island consistently returns the default locale
What's the expected result?
astro.currentLanguage to return the correct locale.
Link to Minimal Reproducible Example
https://stackblitz.com/github/Amirhlotfi/astro-i18n-bug
Participation