Adding localization Packs in Ext JS 6

Source: Internet
Author: User
Tags locale

My post at the official forum has finally been restored and I finally know how to add a localization package. In Ext JS 6, Ext JS belongs to the Classic Toolkit, and localization is included in the Classic Toolkit, so in App.json, to add a localization package, you must add to the classic member, the code is as follows:

     "classic": {         "JS": [             {                 // Remove this entry to  individually load sources from the framework.                  "path":  "${framework.dir}/build/ Ext-all-rtl-debug.js "            }         ],        //The following is the new code for adding localization packs           "Requires"  : [              "Locale"         ],          "locale":  "Zh_CN "    },12345678910111213 

With the EXT JS 5 Add localization package different places, in addition to the definition of the location, "Ext-locale" was modified to "locale", this should be noted.


Adding localization Packs in Ext JS 6

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.