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

# Languages

> Show the sign-in card in English or one of eleven Indian languages, and choose the language from your app.

Aiveth by Gooclaim's sign-in card is available in **12 languages**: English and eleven languages of India. People can switch language on the card, and your app can ask for one.

## Supported languages

| Code | Language |
| - | - |
| `en` | English (default) |
| `hi` | Hindi (हिन्दी) |
| `bn` | Bengali (বাংলা) |
| `mr` | Marathi (मराठी) |
| `te` | Telugu (తెలుగు) |
| `ta` | Tamil (தமிழ்) |
| `gu` | Gujarati (ગુજરાતી) |
| `kn` | Kannada (ಕನ್ನಡ) |
| `ml` | Malayalam (മലയാളം) |
| `or` | Odia (ଓଡ଼ିଆ) |
| `pa` | Punjabi (ਪੰਜਾਬੀ) |
| `ur` | Urdu (اردو), shown right to left |

The card's switcher lists each language in its own script.

Translations are made once and kept with the product. No AI call happens while someone signs in. If a phrase has no translation, the card shows it in English.

## How the language is chosen

Aiveth picks the first match from this list:

1. **The switcher on the card**, on the page where the person picks a language. Their pick is also remembered in their browser for a year.
2. **Your app's `ui_locales`** on the `/oauth/authorize` request.
3. **The language the person picked before**, remembered in their browser.
4. **The browser's language** (the `Accept-Language` header), in the person's order of preference.
5. **English.**

Only the main language part of a tag is used: `hi-IN` and `hi` both give Hindi. Tags Aiveth does not support are skipped.

## Ask for a language from your app

Add `ui_locales` to your authorization request, as defined by OpenID Connect. List one or more language tags separated by spaces, in order of preference. Aiveth uses the first one it supports.

```text theme={null}
https://accounts.aiveth.com/oauth/authorize?response_type=code
  &client_id=YOUR_CLIENT_ID
  &redirect_uri=https://app.example.com/callback
  &scope=openid
  &state=...
  &code_challenge=...&code_challenge_method=S256
  &ui_locales=ta%20en
```

On later visits, `ui_locales` comes before the language the person picked before. If you want their own choice to stick, leave `ui_locales` out.

> [!NOTE]
>
> The language applies to the sign-in card. Your organization's [branding](https://docs.aiveth.com/brand/branding.md), such as the sign-in page title you write, is shown as you entered it.

## Related

* [Branding](https://docs.aiveth.com/brand/branding.md)
* [Login with Aiveth](https://docs.aiveth.com/apps/login-with-aiveth.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.