IT上的本地化理解
2015-07-11 23:10
232 查看
本地化的理解:
软件的本地化:指的是将一产品的用户界面(UI)和辅助材料(eg:文档资料)从其他国产语言向另一种语言转化,使它适应某一外国语言和文化的细微差别的过程。
网络本地化:指的是对网站的文本、图标和格式进行了调整,使之符合某一特定语言和文化习惯,要求把整个网站内容 和目标群体的语言文化紧密的结合起来。
ios开发中的讲解:
NSLocalizedString
Returns a localized version of a string.
Declaration
OBJECTIVE-C
NSString *NSLocalizedString(NSString *key,NSString
*comment)
Parameters
Return Value
The result of invoking
localizedStringForKey:value:table: on the main bundle passing nil as the table.
Discussion
Use this macro to generate the default Localizable.strings file from your code using thegenstrings utility. You can specify Unicode
characters inkey using
\\Uxxxx—see the-u option for the
genstrings utility. The initial value forkey in the strings file will be
key. Use the NSLocalizedStringWithDefaultValue macro to specify another value forkey.
For more information, see
NSBundle.
解析:ios开发中通过这个方法将字符串转化为本地的存储方式进行存储。eg:编码为UTF8等等。
上面所说如果有误,请指正。
软件的本地化:指的是将一产品的用户界面(UI)和辅助材料(eg:文档资料)从其他国产语言向另一种语言转化,使它适应某一外国语言和文化的细微差别的过程。
网络本地化:指的是对网站的文本、图标和格式进行了调整,使之符合某一特定语言和文化习惯,要求把整个网站内容 和目标群体的语言文化紧密的结合起来。
ios开发中的讲解:
NSLocalizedString
Returns a localized version of a string.
Declaration
OBJECTIVE-C
NSString *NSLocalizedString(NSString *key,NSString
*comment)
Parameters
key | The key for a string in the default table. |
comment | The comment to place above the key-value pair in the strings file. |
The result of invoking
localizedStringForKey:value:table: on the main bundle passing nil as the table.
Discussion
Use this macro to generate the default Localizable.strings file from your code using thegenstrings utility. You can specify Unicode
characters inkey using
\\Uxxxx—see the-u option for the
genstrings utility. The initial value forkey in the strings file will be
key. Use the NSLocalizedStringWithDefaultValue macro to specify another value forkey.
For more information, see
NSBundle.
解析:ios开发中通过这个方法将字符串转化为本地的存储方式进行存储。eg:编码为UTF8等等。
上面所说如果有误,请指正。
相关文章推荐
- wince开发_摩托罗拉MC3100_打开条码设置
- 第一章
- C 语言标准输入输出函数的 函数定义 (stdio.h)
- IOS数组
- poj1011(dfs+目前做的最好的剪枝)
- HTML5新标签含义,用法及其与HTML4的区别
- WPF(VB.NET) ImageSource 转 System.Drawing.Image
- stanford parser 使用说明
- HDU -- 3605 Escape(最大流 状态合并判满流)
- 数组排序问题的两种方法:插入排序算法和递归(分治)算法
- html基本常识
- html、htm、shtml、shtm的区别
- PAT乙级 1004. 成绩排名
- mfc 子对话框数据传给父对话框
- 甲骨文官方文档,keytool使用方法, 要学习的看这个很全很权威;主要命令实录;
- 三目表达式
- java面向对象的思想
- 17_Android中Broadcast详解(有序广播,无序广播)最终广播,Bundle传递参数,传递参数的时候指定权限
- 17_Android中Broadcast详解(有序广播,无序广播)最终广播,Bundle传递参数,传递参数的时候指定权限
- [笔记]信息检索导引-第一章-布尔检索