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
Copy file name to clipboardExpand all lines: .changeset/kind-pants-wish.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
'astro': patch
3
3
---
4
4
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