ITPub博客

首页 > 应用开发 > Java > Lesson: Introduction l10n

Lesson: Introduction l10n

翻译 Java 作者:0xiaojian 时间:2015-04-26 11:01:24 0 删除 编辑
An internationalized program has the following characteristics:
国际化的程序有这些特点:
  • With the addition of localized data, the same executable can run worldwide.
  • Textual elements, such as status messages and the GUI component labels, are not hardcoded in the program. Instead they are stored outside the source code and retrieved dynamically.
  • Support for new languages does not require recompilation.
  • Culturally-dependent data, such as dates and currencies, appear in formats that conform to the end user's region and language.
  • It can be localized quickly.
带有本地化的数据,能够在全世界执行。
正文元素,例如GUI组件的标签、状态信息不在程序中硬编码。他们被存放在外部的资源代码中,被动态加载。
支持了新语言不需要重新编译。
数据基于文化,比如日期货币格式符合用户所在地区和语言。
能够快速本地化

A Quick Example

一个快速上手的小例子。

Checklist

国际化要考虑的清单

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26614996/viewspace-1602733/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: CSS Quick Tip
下一篇: Maven in 5 Minutes
请登录后发表评论 登录
全部评论

注册时间:2015-03-08

  • 博文量
    41
  • 访问量
    21267