Text is a prominent part of most user interfaces but also a resource that is most affected by localization changes.Rather than hard-coding text into your code, iOS and OS X support the storage of user-visible text in strings files, which are human-readable text files (in the UTF-16 encoding) containing a set of string resources for an application.
Strings files greatly simplify the internationalization and localization process by allowing you to write your code once and then load the appropriately localized text from resource files that can be changed easily.

本文详细介绍了如何在iOS和OSX应用中利用字符串文件进行国际化和本地化,通过将可见文本存储在人类可读的UTF-16编码文本文件中,实现代码一次编写,轻松加载不同语言版本的应用文本。
&spm=1001.2101.3001.5002&articleId=39493979&d=1&t=3&u=d9bd68588ff8417b8ada7c6eee97e7fb)
239

被折叠的 条评论
为什么被折叠?



