基于 jQuery 的国际化插件 jQuery.i18n
- 授权协议: Apache
- 开发语言: JavaScript HTML/CSS
- 操作系统: 跨平台
- 软件首页: https://github.com/ZOMAKE/jquery.i18n/
- 软件文档: https://github.com/ZOMAKE/jquery.i18n/blob/master/README.md
- 官方下载: https://github.com/ZOMAKE/jquery.i18n/archive/master.zip
软件介绍
jquery.i18n 是一个基于 jQuery 的轻量级的国际化(i18n)插件。
支持根据设置默认语言
支持切换语言
支持使用json文件存储翻译内容
可以根据用户自定义的不同语言版本的 json 文件,按需渲染网页上的语言,实现国际化。
安装
在项目中先引入 jQuery 文件:
<script src="jquery.js"></script>
然后在 jQuery 之后引入 jquery.i18n.js:
<script src="jquery.i18n.js"></script>
