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
The input box is displayed in English.
- 2
The input date control is displayed in English
END
Effect after change
- 1
A long-time Chinese Input prompt is displayed.
- 2
The date control has also become a Chinese character, isn't it amazing.
END
Setting Method
Introduce Chinese Language Pack: easyui-lang-zh_CN.js in html source code. For details, see the image.
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