续之1:多国语言的实现基础:
2010-1-25,Monday
简要地说:
数据内容以某种编码方式(ansi,unicode,utf8...)进行组织,然后保存到某个文件中,文件通过某种方式(例如,文件系统filesystem, fat、ntfs、ext3...)保存在某种介质(hard disk...)上;
访问数据时,可以通过读取文件获知数据内容的编码方式;然后根据使用的语言的设置,在字库的配合下,将数据转换为符合该语言设置的字符串(这个操作流程就是i18n),以供使用。
几个概念的之间的关联:
需要理解这些概念,一直没有一个清晰的认识,总是一知半解;每次用到的时候要查不少资料,能够应付燃眉之急了就放下了。总不是一个事,还是记录下来,能理解了,最好不过。至不济,还可供查阅。
国际化:i18n, internationalization,部分大公司也称之为 Globalization
本地化:L10n, Localization
字库
linux内核、文件系统
In computing, internationalization and localization (also spelled internationalisation and localisation, see spelling differences) are means of adapting computer software to different languages and regional differences. Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting internationalized software for a specific region or language by adding locale-specific components and translating text.
Due to their length, the terms are frequently abbreviated to the numeronyms i18n (where 18 stands for the number of letters between the i and the n in internationalization, a usage coined at DEC in the 1970s or 80s[1]) and L10n respectively. The capital L in L10n helps to distinguish it from the lowercase i in i18n.
Some companies, like Microsoft, IBM and Sun Microsystems, use the term globalization for the combination of internationalization and localization.[2][3] Globalization can also be abbreviated to g11n.[4]
This term is also known as NLS (National Language Support or Native Language Support).
The distinction between internationalization and localization is subtle
but important. Internationalization is the adaptation of products for potential use virtually everywhere, while localization is the addition of special features for use in a specific
locale. Internationalization is done once per product, while
localization is done once for each combination of product and locale.
The processes are complementary, and must be combined to lead to the
objective of a system that works globally.
参考资料:
wiki:Internationalization and localization
%3D
网页:Linux系统国际化、本地化和中文化
阅读(992) | 评论(0) | 转发(0) |