Easyui English prompt to change Chinese, easyui English Chinese

Source: Internet
Author: User

Easyui English prompt to change Chinese, easyui English Chinese

Recently I used JQuery easyUI. The default date and text input boxes in the system prompt English. As an authentic Chinese, do they prompt Chinese characters and Chinese Dates? Are they more user-friendly, the operation method is as follows.

Effect Before change
  1. 1

    The input box is displayed in English.

  2. 2

     











    The input date control is displayed in English

    END




Effect after change
  1. 1

    A long-time Chinese Input prompt is displayed.

  2. 2

     














    The date control has also become a Chinese character, isn't it amazing.

    END





Setting Method
  1. Introduce Chinese Language Pack: easyui-lang-zh_CN.js in html source code. For details, see the image.

  2.  








    The easyui-lang-zh_CN.js is located in the locale directory in the easyui source package. Want other tips language can also change ah, such as traditional easyui-lang-zh_TW.js






















Http://jingyan.baidu.com/article/0f5fb099c19f466d8334ead2.html


English prompt after the easyui-lang-zh_CNjs is imported

<Link rel = "stylesheet" type = "text/css" href = ".. /.. /themes/default/easyui.css "> <link rel =" stylesheet "type =" text/css "href = ".. /.. /themes/icon.css "> <link rel =" stylesheet "type =" text/css "href = ".. /demo.css "> <script type =" text/javascript "src = ".. /.. /jquery-1.8.0.min.js "> </script> <script type =" text/javascript "src = ".. /.. /jquery. easyui. min. js "> </script> <script type =" text/javascript "src = ".. /.. /locale/easyui-lang-zh_CN.js "> </script> when introducing js files, put the Chinese package in min. after js


English prompt after the easyui-lang-zh_CNjs is imported

<Link rel = "stylesheet" type = "text/css" href = ".. /.. /themes/default/easyui.css "> <link rel =" stylesheet "type =" text/css "href = ".. /.. /themes/icon.css "> <link rel =" stylesheet "type =" text/css "href = ".. /demo.css "> <script type =" text/javascript "src = ".. /.. /jquery-1.8.0.min.js "> </script> <script type =" text/javascript "src = ".. /.. /jquery. easyui. min. js "> </script> <script type =" text/javascript "src = ".. /.. /locale/easyui-lang-zh_CN.js "> </script> when introducing js files, put the Chinese package in min. after js


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.