---
title: "Bundling the User Interface localizations for TinyMCE"
description: "Information on bundling User Interface localizations"
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/bundling-localization/"
md_url: "https://www.tiny.cloud/docs/tinymce/7/bundling-localization/index.md"
version: "7"
last_updated: "2023-05-23T00:36:38Z"
tokens: 1201
---
Important This page documents TinyMCE 7. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/bundling-localization/).
# Bundling the User Interface localizations for TinyMCE

## Overview

- [Using community localizations](#using-community-localizations)
- [Using premium self-hosted localizations](#using-premium-self-hosted-localizations)

## Using community localizations

### Using the community language packs

To change the user interface language using a community language pack:

1. Download the language pack from [the Tiny Community Language Packages download page](/get-tiny/language-packages/).
2. Unzip and import/require the language file.
3. Set the [`language`](../ui-localization/#language) option in your TinyMCE configuration to the language code, matching the filename on the language pack. For example: If the language pack has the filename `sv_SE.js`, then set `language: 'sv_SE',`
4. Confirm that the language has been set successfully by loading TinyMCE.

> **Note:** The language code set in the TinyMCE configuration must match the filename of the language file. If the language file is not found, TinyMCE will not load.
If a language you need is not available, you may wish to translate TinyMCE yourself. To contribute to translating TinyMCE, go to our [Crowdin translation page](https://crowdin.com/project/tinymce) and sign up. Then request to join an existing team, or create a new team if your language are not listed.

## Using premium self-hosted localizations

### Overview

This section shows the files required for each TinyMCE localization. The file paths shown are relative to the root TinyMCE package directory, where `tinymce.min.js` is stored. For example:

```
./
├── icons/
├── langs/
├── license.txt
├── models/
├── plugins/
├── readme.txt
├── skins/
├── themes/
├── tinymce.d.ts
├── tinymce.js
├── tinymce.min.js
└── version.txt
```
The following table shows examples of the syntax used to bundle the following example localization file:

```
./langs/sv_SE.js
```
**Module Syntax:** ES6+ · **Source:** npm

**Example:**

```js
import 'tinymce/langs/sv_SE';
```
**Module Syntax:** ES6+ · **Source:** `.zip`

**Example:**

```js
import '../tinymce/langs/sv_SE';
```
**Module Syntax:** Common JS · **Source:** npm

**Example:**

```js
require('tinymce/langs/sv_SE');
```
**Module Syntax:** Common JS · **Source:** `.zip`

**Example:**

```js
require('../tinymce/langs/sv_SE.js');
```

### Supported Languages

| Language | Code | Filename |
| --- | --- | --- |
| Arabic | ar | `./langs/ar.js` |
| Basque | eu | `./langs/eu.js` |
| Bulgarian (Bulgaria) | bg_BG | `./langs/bg_BG.js` |
| Catalan | ca | `./langs/ca.js` |
| Chinese (China) | zh_CN | `./langs/zh_CN.js` |
| Chinese (Taiwan) | zh_TW | `./langs/zh_TW.js` |
| Croatian | hr | `./langs/hr.js` |
| Czech | cs | `./langs/cs.js` |
| Danish | da | `./langs/da.js` |
| Dutch | nl | `./langs/nl.js` |
| Finnish | fi | `./langs/fi.js` |
| French (France) | fr_FR | `./langs/fr_FR.js` |
| German | de | `./langs/de.js` |
| Greek | el | `./langs/el.js` |
| Hebrew (Israel) | he_IL | `./langs/he_IL.js` |
| Hindi | hi | `./langs/hi.js` |
| Hungarian (Hungary) | hu_HU | `./langs/hu_HU.js` |
| Indonesian | id | `./langs/id.js` |
| Italian | it | `./langs/it.js` |
| Japanese | ja | `./langs/ja.js` |
| Kazakh | kk | `./langs/kk.js` |
| Korean (Korea) | ko_KR | `./langs/ko_KR.js` |
| Malay | ms | `./langs/ms.js` |
| Norwegian Bokmål (Norway) | nb_NO | `./langs/nb_NO.js` |
| Persian | fa | `./langs/fa.js` |
| Polish | pl | `./langs/pl.js` |
| Portuguese (Brazil) | pt_BR | `./langs/pt_BR.js` |
| Portuguese (Portugal) | pt_PT | `./langs/pt_PT.js` |
| Romanian | ro | `./langs/ro.js` |
| Russian | ru | `./langs/ru.js` |
| Slovak | sk | `./langs/sk.js` |
| Slovenian (Slovenia) | sl_SI | `./langs/sl_SI.js` |
| Spanish | es | `./langs/es.js` |
| Swedish (Sweden) | sv_SE | `./langs/sv_SE.js` |
| Thai (Thailand) | th_TH | `./langs/th_TH.js` |
| Turkish | tr | `./langs/tr.js` |
| Ukrainian | uk | `./langs/uk.js` |
| Vietnamese | vi | `./langs/vi.js` |
