Xcode8.3 修改默认开发语言(Development Language)

来源

新建的项目,PROJECT -> info -> Localizations,默认是English-Development Language,接下来将默认开发语言修改为中文简体;

1.将info.plist文件中CFBundleDevelopmentRegion(Localization native development region)修改为zh-HansChina(修改为China,Xcode会转换为zh_CN)

CFBundleDevelopmentRegion
    zh-Hans
  1. 使用文本编辑器打开.xcodeproj -> project.pbxproj路径的文件,将English修改为zh-Hans,如:
developmentRegion = zh-Hans/*此处不用China*/;
            hasScannedForEncodings = 0;
            knownRegions = (
                zh-Hans,
                Base,
            );

3.重新打开程序即可,PROJECT -> info -> Localizations路径下,默认开发语言修改为Chinese(Simplified)-Development Language;

你可能感兴趣的:(Xcode8.3 修改默认开发语言(Development Language))