mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
be68ab47e2
* 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>
23 lines
1,023 B
Markdown
23 lines
1,023 B
Markdown
---
|
|
"astro": minor
|
|
---
|
|
|
|
The `i18nDomains` routing feature introduced behind a flag in [v3.4.0](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#430) 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](https://docs.astro.build/en/guides/integrations-guide/node/) or [@astrojs/vercel](https://docs.astro.build/en/guides/integrations-guide/vercel/) adapter with a `site` configured.
|
|
|
|
If you were using this feature, please remove the experimental flag from your Astro config:
|
|
|
|
```diff
|
|
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](https://docs.astro.build/en/guides/internationalization/#domains) for more about this feature.
|