我想问一个关于在UI上支持多种语言的桌面应用程序的问题。

在我搜索关于这个主题的现有问题时,我想到了单词“International”,所以我选择了国际化标签并阅读了一些匹配的问题。

最终,我意识到我可能应该在标记为本地化的问题下寻找。然而,我似乎不是唯一一个把这两个术语混淆的人。

那么,本地化和国际化之间的关键区别是什么?

另外,它们之间的明确区分真的那么重要吗?


当前回答

简单地说,

国际化(I18N)是使您的软件能够适应不同语言、地区和文化的过程。

本地化(L10N)是将软件翻译成多种语言的过程。但是在本地化您的软件之前,您必须将其国际化。

其他回答

我觉得本地化可以没有国际化,但是… 国际化和本地化不应该做……

苹果公司表示:

国际化是一个设计和建设国际化的过程 申请提供便利 本地化。本地化, 转,是文化和语言 适应一个国际化 应用于两个或更多 具有文化独特性的市场。

根据维基百科

国际化是设计软件应用程序的过程,这样它就可以在不进行工程更改的情况下适应各种语言和地区。

本地化是通过添加特定于地区的组件和翻译文本,使国际化软件适应特定地区或语言的过程。

此外,本地化(对于不同的地区可能执行多次)使用国际化提供的基础设施或灵活性(理想情况下只执行一次,或作为正在进行的开发的一个组成部分)。

There are a few very good answers here, so I won't recycle them. However at some point, typically between internationalization testing and localization linguistic testing, internationalization and localization tend to overlap. One person mentions l10n feeding back to internationalization, but if you are doing quality i18n testing, and creating pseudo-localized content, then iterating on development issues during localization should be the exception, not the rule. Interface resizing, and particularly adapting pages to support bi-directional languages like Arabic and Hebrew also tend to blend both localization issues and internationalization engineering.

可以说,国际化涉及对源代码进行更改,以根据需求支持任何语言环境。如果国际化做得好……

...本地化涉及内容和某些层次的表示(例如粗体标签)的调整,以便最好地满足特定目标市场(地区)的需求。

很多文章和白皮书供参考:http://www.lingoport.com/software-internationalization-articles

很多答案,很多正确的信息,但我的答案是另一个观点。

Internationalization - it is when developer does not have in code direct messages/error messages/buttons names/labels captions/etc in certain language but have a key which is passed to translation function, and translation function according to current user's locale will return final text in english/france/etc... Translation function works with storage (db/files/associative array/etc). Storage contains keys which is ussed in coode, and values, which is texts in certain language which application supports.

本地化—这是一个用新的语言(例如西班牙语)添加新的值到存储键的过程,而不需要开发人员参与这个过程。

例如,我们有存储:

key   | english    | italian           |
------+------------+-------------------+
title | Welcome    | Benvenuto         |
agree | I agree    | Sono d'accordo    |
thank | Thank you  | Grazie            |

它在代码中使用国际化,比如confirm(t(agree));而不是confirm(“我同意”);或确认(“Sono d’accordo”); 本地化-它是添加新的地区到我们的存储,如:

key   | english    | italian           | spanish          |
------+------------+-------------------+------------------+
title | Welcome    | Benvenuto         | Bienvenido       |
agree | I agree    | Sono d'accordo    | Estoy de acuerdo |
thank | Thank you  | Grazie            | Gracias          |

这里开发者不需要更新代码,翻译功能就能正确地携带相应的文本。