Cordova 6.0.0 iOS本地化使用cordova-ios@4.0和Xcode 7.2.1 [英] Cordova 6.0.0 iOS localization with cordova-ios@4.0 and Xcode 7.2.1

查看:433
本文介绍了Cordova 6.0.0 iOS本地化使用cordova-ios@4.0和Xcode 7.2.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的cordova-ios@4.0项目的默认语言在Apple Xcode中使用Cordova 6.0.0 CLI设置为英语。 iOS上下文菜单将使用英语,即使iOS设备语言是本地化的,例如select / select all / copy / paste -menu。如何在Xcode中将Cordova应用程序本地化为挪威语(nb)?

The default language of my cordova-ios@4.0 project is set to English in Apple Xcode using Cordova 6.0.0 CLI. The iOS context menus will use English even though the iOS device language is localized, such as the select/select all/copy/paste -menu. How can I localize the Cordova app to Norwegian (nb) in Xcode, please?

推荐答案

plist

<key>CFBundleDevelopmentRegion</key>
<string>nb</string>

或添加:

<key>CFBundleLocalizations</key>
<array>
    <string>nb</string>
</array>

这篇关于Cordova 6.0.0 iOS本地化使用cordova-ios@4.0和Xcode 7.2.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆