xcode语言本地化(中文)

1.在Supporting Files文件夹右键,NewFile… -> iOS -> Resources -> String Files,命名为Localizable.strings


2.选中Localizable.strings 右侧添加English,Chinese


3.会看到左侧项目中:



4、

在源代码中使用NSLocalizedString来引用国际化文件

ok搞定。

附上一遍好文章:http://blog.sina.com.cn/s/blog_9cb5a44d0101ibz7.html

你可能感兴趣的:(xcode语言本地化(中文))