Use of TINYMCE-language configuration

Source: Internet
Author: User

Starting with TinyMCE 4.x, use the Transifex service to handle translation issues.

TINYMCE English is used by default, and if you need to use a different language, you can download the appropriate language file from here.

Install the Language pack

  • Download the required language (Chinese zh_cn.js)
  • Put Zh_cn.js in the tinymce/langs directory
  • Modify Tinymce.init ({...}) In the configuration, add Language Options, for Chinese:
Language: "ZH_CN"
  • That's all there is to it.

Note: There is no need to introduce the Zh_cn.js file into an HTML page, which should be automatically loaded.

Use of TINYMCE-language configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.