11 Vote

TinyMCE: Change Language

Question by Guest | Last update on 2021-07-01 | Created on 2014-05-06

I have installed the TinyMCE HTML Editor on my website. It is working like a charm. However, the only thing is that I would like to change the default language of the editor.

The language is English by default. Is there any possibility to change this to another language, for example German, Spanish or French?

ReplyPositiveNegative
1Best Answer1 Vote

TinyMCE supports lots of languages. A full list can be found on this page. There you can find files for each language that can be downloaded. Of course, also German, Spanish and French are available.

The language files such as "de.js", "es.js" and/or "fr.js" have to be stored in the folder "tinymce/langs" within your TinyMCE installation.

After that, you can just load the appropriate language during the initialization of TinyMCE:

tinymce.init({
  selector: "textarea",
  language: "de",
  toolbar: "bold italic | alignleft alignright"
});

Here it is important that you write the correct language code behind "language". A file named with this language code must be available in the directory "tinymce/langs". For example, in your case, "de" for German, "es" for Spanish or "fr" for French.
Last update on 2021-07-01 | Created on 2014-05-06

ReplyPositive Negative
Reply

Related Topics

VirtualBox: Change Date and Time

Tutorial | 10 Comments

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.