> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 言語変更オプション

```ts Example theme={null}
export interface LanguageChangeOptions {
  language: string;
  persist?: 'session';
  [key: string]: string | number | boolean | undefined;
}
```

<div id="indexable">
  ## インデックス可能
</div>

\[`key`: `string`]: `string` | `number` | `boolean` | `undefined`

<div id="properties">
  ## プロパティ
</div>

<ParamField body="language" type="string" required>
  設定する短い言語名 (ロケールコード) 。たとえば、`'en'`、`'fr'`、`'es'` です。
</ParamField>

<ParamField body="persist?" type="&#x22;session&#x22;">
  言語設定を保持する範囲を定義します。`'session'` に設定すると、選択した言語はセッション中保持されます。
</ParamField>
