Bundling the User Interface localizations for TinyMCE
Information on bundling User Interface localizationsContribute to this page
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
languageoption 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
- 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
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:
| || |
|Common JS||npm|| |
| || |
|Bulgarian (Bulgaria)||bg_BG|| |
|Chinese (China)||zh_CN|| |
|Chinese (Taiwan)||zh_TW|| |
|French (France)||fr_FR|| |
(Support added in TinyMCE 5.3)
|Hebrew (Israel)||he_IL|| |
|Hungarian (Hungary)||hu_HU|| |
|Korean (Korea)||ko_KR|| |
|Norwegian Bokmål (Norway)||nb_NO|| |
|Portuguese (Brazil)||pt_BR|| |
|Portuguese (Portugal)||pt_PT|| |
|Slovenian (Slovenia)||sl_SI|| |
|Spanish (Mexico) |
(Deprecated in TinyMCE 5.5 and newer)
|Swedish (Sweden)||sv_SE|| |
|Thai (Thailand)||th_TH|| |
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.