summaryrefslogtreecommitdiff
path: root/.changeset/fluffy-dolls-sleep.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/fluffy-dolls-sleep.md')
-rw-r--r--.changeset/fluffy-dolls-sleep.md26
1 files changed, 0 insertions, 26 deletions
diff --git a/.changeset/fluffy-dolls-sleep.md b/.changeset/fluffy-dolls-sleep.md
deleted file mode 100644
index 02b698f1e..000000000
--- a/.changeset/fluffy-dolls-sleep.md
+++ /dev/null
@@ -1,26 +0,0 @@
----
-'astro': minor
----
-
-Adds a new way to configure the `i18n.locales` array.
-
-Developers can now assign a custom URL path prefix that can span multiple language codes:
-
-```js
-// astro.config.mjs
-export default defineConfig({
- experimental: {
- i18n: {
- defaultLocale: "english",
- locales: [
- "de",
- { path: "english", codes: ["en", "en-US"]},
- "fr",
- ],
- routingStrategy: "prefix-always"
- }
- }
-})
-```
-
-With the above configuration, the URL prefix of the default locale will be `/english/`. When computing `Astro.preferredLocale`, Astro will use the `codes`.