From 49602b8be2b211d35373a441dba92746c1a28db9 Mon Sep 17 00:00:00 2001 From: Polaris <37720445+PolarisWasInDenial@users.noreply.github.com> Date: Thu, 18 Jul 2024 03:03:18 -0500 Subject: [PATCH] Update i18n.md --- docs/en/guide/i18n.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/guide/i18n.md b/docs/en/guide/i18n.md index b055c160..92f1f0b9 100644 --- a/docs/en/guide/i18n.md +++ b/docs/en/guide/i18n.md @@ -51,7 +51,7 @@ interface LocaleSpecificConfig { Refer [`DefaultTheme.Config`](https://github.com/vuejs/vitepress/blob/main/types/default-theme.d.ts) interface for details on customizing the placeholder texts of the default theme. Don't override `themeConfig.algolia` or `themeConfig.carbonAds` at locale-level. Refer [Algolia docs](../reference/default-theme-search#i18n) for using multilingual search. -**Pro tip:** Config file can be stored at `docs/.vitepress/config/index.ts` too. It might help you organize stuff by creating a configuration file per locale and then merge and export them from `index.ts`. +**Pro tip:** Config file can be stored at `docs/.vitepress/config/index.ts` too. It might help you organize stuff by creating a configuration file per locale and then to merge and export them from `index.ts`. ## Separate directory for each locale @@ -75,7 +75,7 @@ However, VitePress won't redirect `/` to `/en/` by default. You'll need to confi /* /en/:splat 302 ``` -**Pro tip:** If using the above approach, you can use `nf_lang` cookie to persist user's language choice: +**Pro tip:** If using the above approach, you can use `nf_lang` cookie to make the user's language choice persistent: ```ts // docs/.vitepress/theme/index.ts