---
title: "B24LangList"
description: "Enum of Bitrix24 cloud interface languages plus the BCP-47 locale map."
canonical_url: "https://bitrix24.github.io/b24jssdk/docs/working-with-the-rest-api/core-lang-list"
last_updated: "2026-08-25"
---
# B24LangList

> Enum of Bitrix24 cloud interface languages plus the BCP-47 locale map.

`B24LangList`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} enumerates the language codes Bitrix24 cloud uses (`B24Frame.getLang()` returns one of these). `B24LocaleMap`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} maps each entry to its BCP-47 locale (`'en' → 'en-EN'`, `'br' → 'pt-BR'`, …) — handy for `Intl.*` APIs.

## Usage

```ts
import { B24LangList, B24LocaleMap } from '@bitrix24/b24jssdk'

const lang = $b24.getLang()        // B24LangList
const locale = B24LocaleMap[lang]  // 'en-EN' | 'ru-RU' | ...

const fmt = new Intl.DateTimeFormat(locale, { dateStyle: 'long' })
console.log(fmt.format(new Date()))
```

## Enum Values

```ts-type
enum B24LangList {
  ru, id, ms,
  de, en, la,
  fr, in, it,
  pl, br, vn,
  tr, kz, ua,
  ar, th, sc,
  tc, ja
}
```

> [!NOTE]
> On Bitrix24.Box installations only 1–2 languages are usually available. Don't assume the whole enum is reachable; gate on `getLang()` first.

## Locale Map

| `B24LangList` | Locale |
| --- | --- |
| `ru` | `ru-RU` |
| `id` | `id-ID` |
| `ms` | `ms-MY` |
| `de` | `de-DE` |
| `en` | `en-EN` |
| `la` | `es-ES` |
| `fr` | `fr-FR` |
| `in` | `hi-IN` |
| `it` | `it-IT` |
| `pl` | `pl-PL` |
| `br` | `pt-BR` |
| `vn` | `vi-VN` |
| `tr` | `tr-TR` |
| `kz` | `kk` |
| `ua` | `uk-UA` |
| `ar` | `ar-SA` |
| `th` | `th-TH` |
| `sc` | `zh-CN` |
| `tc` | `zh-TW` |
| `ja` | `ja-JP` |

## Sitemap

See the full [sitemap](/b24jssdk/sitemap.md) for all pages.
