Bundling the User Interface localizations for TinyMCE
Information on bundling User Interface localizations
Contribute to this pageOverview
Using community localizations
Using the community language packs
To use change the user interface language using a community language pack:
-
Download the language pack from the Tiny Community Language Packages download page.
-
Unzip and import/require the language file.
- Set the
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 filenamesv_SE.js
, then setlanguage: 'sv_SE',
- 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 it yourself. To contribute to translating TinyMCE, go to our Transifex translation page and sign up, then request to join a 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/
├── jquery.tinymce.min.js
├── langs/
├── license.txt
├── 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 | Source | Example |
---|---|---|
ES6+ | npm |
|
.zip |
| |
Common JS | npm |
|
.zip |
|
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 (Support added in TinyMCE 5.3) | el | ./langs/el.js |
Hebrew (Israel) | he_IL | ./langs/he_IL.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 |
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 |
Spanish (Mexico) (Deprecated in TinyMCE 5.5 and newer) | es_MX | ./langs/es_MX.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 |
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Can't find what you're looking for? Let us know.
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.