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

# LanguageChangeOptions

Options accepted by the function returned from [`useChangeLanguage`](/docs/libraries/acul/react-sdk/API-Reference/Hooks/useChangeLanguage).

```typescript theme={null}
interface LanguageChangeOptions {
  language: string;
  persist?: "session";
  [key: string]: string | number | boolean | undefined;
}
```

## Properties

<ParamField body="language" type="string" required>
  The locale code to switch to. Must match one of the locales enabled in your Auth0 tenant. Example: `"en"`, `"fr"`, `"es"`.
</ParamField>

<ParamField body="persist" type="&#x22;session&#x22;">
  Persistence scope for the language preference. Only `"session"` is currently supported. Defaults to `"session"`.
</ParamField>

## Remarks

* Additional custom fields may be passed alongside `language` and `persist`. Custom fields must be prefixed with `"ulp-"` and accept values of type `string`, `number`, `boolean`, or `undefined`.
