IOS:为我的应用程序在xcode中设置默认语言 [英] IOS: set a default language in xcode for my app

查看:354
本文介绍了IOS:为我的应用程序在xcode中设置默认语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动了我的xcode项目并且我有以下设置:

I started my xcode project and I have these settings:

在xcode 5中添加这种基础语言,但我不明白它是如何工作的。
我想设置为我的默认语言英语而不是意大利语;例如,如果用户使用西班牙语或法语设置其设备,则必须使用英语而不是意大利语查看应用程序;
你可以帮帮我吗?

In xcode 5 it add this "base" language, but I don't understand how it works. I want to set as my default language english and not italian; for example if an user set its device in spanish or in french language it must see app in english and not in italian; can you help me?

谢谢

推荐答案

已解决!!!

您应在plist文件部分设置base:

you should set "base" in in plist file section:

Localization native development region

并仅设置故事板基础;仅限本地化字符串中的其他语言

and set Storyboard only for "base"; for other language only in Localizable String

当您本地化文件时,您应该设置base(对于语言默认值)和您要使用的其他语言。

when you localize a file you should set base (for language default) and the other language you want to use.

在本地化(我的问题中的图片)应该是基础和您想要使用的所有语言

In localizations (picture in my question) should be with base and all language you want to use

这篇关于IOS:为我的应用程序在xcode中设置默认语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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