首先介绍两个名词:i18n,l10n。是不是觉得很熟悉,却又不知道什么意思?简单的说,它们是两个单词的缩写,国际化与本地化:internationalization,localization。比较官方的解释是这样的:
Internationalization (I18N) refers to the operation by which a program is made aware of multiple languages. Localization (L10N) refers to the adaptation of your program, once internationalized, to the local language and cultural habits.
GNU gettext的官方介绍:
GNU `gettext' is an important step for the GNU Translation Project, as it is an asset on which we may build many other steps. This package offers to programmers, translators, and even users, a well integrated set of tools and documentation. Specifically, the GNU `gettext' utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. These tools include a set of conventions about how programs should be written to support message catalogs, a directory and file