diff --git a/docs/content/docs/5.v9/3.options/10.misc.md b/docs/content/docs/5.v9/3.options/10.misc.md index a5e212780..3870be1e3 100644 --- a/docs/content/docs/5.v9/3.options/10.misc.md +++ b/docs/content/docs/5.v9/3.options/10.misc.md @@ -5,24 +5,48 @@ description: Miscellaneous options. ## `experimental` -- type: `object` -- default: `{ localeDetector: '', switchLocalePathLinkSSR: false, autoImportTranslationFunctions: false }` +Experimental configuration property is an object with the following properties: -Supported properties: +### `experimental.localeDetector` +- type: `string` +- default: `''` +- Specify the locale detector to be called per request on the server side. You need to specify the filepath where the locale detector is defined. -- `localeDetector` (default: `''`) - Specify the locale detector to be called per request on the server side. You need to specify the filepath where the locale detector is defined. ::callout{icon="i-heroicons-exclamation-triangle" color="amber"} About how to define the locale detector, see the [`defineI18nLocaleDetector` API](/docs/api#definei18nlocaledetector) :: -- `switchLocalePathLinkSSR` (default: `false`) - Changes the way dynamic route parameters are tracked and updated internally, improving language switcher SSR when using the [`SwitchLocalePathLink`](/docs/api/components#switchlocalepathlink) component. -- `autoImportTranslationFunctions` (default: `false`) - Automatically imports/initializes `$t`, `$rt`, `$d`, `$n`, `$tm` and `$te` functions in `