据说
In iOS, the bundle interfaces do not take dialect or script information into account when looking for localized resources; only the language designator code is considered. Therefore if your project includes language-specific project directories with both a language and region designator, those directories are ignored. The bundle interfaces in Mac OS X do support region designators in language-specific project directories.
这个我不是很明白。是不是说.lproj目录的名称不能包含任何地区代码?
但至少我知道 iOS 接受 zh_TW.lproj,zh_CN.lproj。 en_GB.lproj 和 en-GB_GB.lproj 怎么样?或者它只知道 en.lproj?
最佳答案
这只是意味着 iOS 将只支持两位数的语言代码(例如 en.lproj、es.lproj 等)。而 Mac OS X 将支持 Language_Region 格式(例如 en_GB、en_US 等)。
关于iphone - 关于 iOS 本地化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5320407/