Skip to content

Commit 57882f5

Browse files
ematipicomatthewp
andauthored
Update .changeset/kind-pants-wish.md
Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
1 parent 5fb7162 commit 57882f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/kind-pants-wish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'astro': patch
33
---
44

5-
Fixes an issue where `Astro.currentLocale` would always return the default locale instead of the actual one when using a dynamic route like `[locale].astro` or `[locale]/index.astro`. The correct locale from the URL is now returned.
5+
Fixes an issue where `Astro.currentLocale` would always be the default locale instead of the actual one when using a dynamic route like `[locale].astro` or `[locale]/index.astro`. It now resolves to the correct locale from the URL.

0 commit comments

Comments
 (0)