> ## 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.

# LanguageChangeOptions

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

<div id="indexable">
  ## Indexable
</div>

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

<div id="properties">
  ## Propiedades
</div>

<ParamField body="language" type="string" required>
  Nombre corto del idioma (código de configuración regional) que se va a establecer (por ejemplo, `'en'`, `'fr'`, `'es'`).
</ParamField>

<ParamField body="persist?" type="&#x22;session&#x22;">
  Define el alcance de persistencia de la preferencia de idioma. Cuando se establece en `'session'`, el idioma seleccionado se conserva durante la sesión.
</ParamField>
