0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/five-crabs-rhyme.md
Emanuele Stoppa be68ab47e2
feat: make i18n domains stable (#11022)
* feat: make i18n domains stable

* update tst

* Update .changeset/five-crabs-rhyme.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* fix regression

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-22 12:06:26 +01:00

1,023 B

astro
minor

The i18nDomains routing feature introduced behind a flag in v3.4.0 is no longer experimental and is available for general use.

This routing option allows you to configure different domains for individual locales in entirely server-rendered projects using the @astrojs/node or @astrojs/vercel adapter with a site configured.

If you were using this feature, please remove the experimental flag from your Astro config:

import { defineConfig } from 'astro'

export default defineConfig({
-  experimental: {
-    i18nDomains: true,
-  }
})

If you have been waiting for stabilization before using this routing option, you can now do so.

Please see the internationalization docs for more about this feature.