diff options
author | Sarah Rainsberger | 2023-05-24 08:30:09 -0300 |
---|---|---|
committer | GitHub | 2023-05-24 08:30:09 -0300 |
commit | 59b3ebdc8fd54ebe241b4459834e447355c896b1 (patch) | |
tree | b20062709c56625c818588a57dfb8ab87b5c481c | |
parent | d5bb127c0d6352bd1de616b170a3d3b6cbf93f5c (diff) | |
download | IT.starlight-59b3ebdc8fd54ebe241b4459834e447355c896b1.tar.gz IT.starlight-59b3ebdc8fd54ebe241b4459834e447355c896b1.tar.bz2 IT.starlight-59b3ebdc8fd54ebe241b4459834e447355c896b1.zip |
technically possible
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r-- | docs/src/content/docs/guides/i18n.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/content/docs/guides/i18n.md b/docs/src/content/docs/guides/i18n.md index f4c39bb7..55093723 100644 --- a/docs/src/content/docs/guides/i18n.md +++ b/docs/src/content/docs/guides/i18n.md @@ -59,7 +59,7 @@ Starlight provides built-in support for multilingual sites, including routing, f You can use a βrootβ locale to serve a language without any i18n prefix in its path. For example, if English is your root locale, an English page path might look like `/about` instead of `/en/about`. -To set a root locale, use the `root` key in your `locales` config and remove `defaultLocale` (or set to `root`): +To set a root locale, use the `root` key in your `locales` config. If the root locale is also the default locale for your content, remove `defaultLocale` or set it to `'root'`. ```js // astro.config.mjs |