登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

ideality

@linux c 编程@

 
 
 

日志

 
 
 
 

什么是i18n  

2009-11-09 00:40:03|  分类: freebsd |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

         在ports中经常看到i18n,那么什么是i18n呢!

i18n就是Internationalization的缩写,其原因是i和n之间一共有18个字母,

程序员的智慧很伟大吧,也就是说这个目录是和软件的国际化相关的,里面一般是放的本软件的语言包,软件的国际化就是软件的多语言化.

下面这些地方会需要I18N

Displaying characters for the users' native languages.

Inputing characters for the users' native languages.

Handling files written in popular encodings that are used for the users' native languages.

Using characters from the users' native languages for file names and other items.

Printing out characters from the users' native languages.

Displaying messages by the program in the users' native languages.

Formatting input and output of numbers, dates, mony, etc., in a way that obeys customs of the users' native cultures.

Classifying and sorting characters, in a way that obey customs of the users' native cultures.

Using typesetting and hyphenation rules appropriate for the users' native languages.

当然除了I18N还有L10N(localization) 和M17N (multilingualization),这3个之间有什么区别呢,举例说明。

L10N支持2种语言,英文和另外一种语言(例如中文);

I18N支持多种语言,但是同一时间只能是英文和一种选定的语言,例如英文+中文、英文+德文、英文+韩文等等;

M17N可以在同一时间支持多种语言,例如你可以在一个页面里看到中文、英文、德文和韩文。

  评论这张
 
阅读(723)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018