本地化本机开发区域,基本本地化和Appstore语言(包) [英] Localization native development region, base localization and Appstore language (bundle)

查看:132
本文介绍了本地化本机开发区域,基本本地化和Appstore语言(包)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实理解本地化本地开发区域是项目中缺少的语言的后备。

I do understand that "Localization native development region" is a fallback for languages that are missing in the project.

我明白所显示的语言在Appstore中来自bundle及其目录结构,但是如何使基本本地化与开发区域匹配?

I do understand that the language shown in the Appstore comes from the bundle and its directories structure, but how can i make the base localization match the development region?



在Xcode 6上默认设置为英语,用于开发语言,并且已选中基本本地化&在info.plist中也一样。


On Xcode 6 the default setting is English for development language with base localization checked & the same in the info.plist.

我已经阅读了建议的问题&答案,但我仍然没有一个明确的答案。

I've already read the suggested questions & answers but i still haven't a clear answer.

如果我更改信息,该项目的目录结构只有一个名为Base.lproj的目录。 plist本地化本地开发区域不会影响项目被认可具有英语开发语言的事实。

The directory structure of that project has only one dir called Base.lproj, if I change the info.plist localization native development region doesn't affect the fact that the project is recognized to have an English development language.

如果我根据新的添加本地化info.plist中的值,删除基本定位,删除英文本地化(移动到垃圾不留痕迹),重新选择基本本地化,说基础本地化是指说西班牙语作为参考语言,该捆绑仍然被识别为英语。

If I add a localization according to the new value in the info.plist, remove the base localization, remove the English localization(moving to trash leaving no trace), reselect the base localization saying that the base localization refers to say Spanish as a reference language, the bundle is still recognized as English.

如何设置基础国际化以匹配除英语之外的其他语言?

How can i set the base internationalization to match another language than English?

推荐答案

这个诀窍不仅仅是一个答案,如果你想保持Base本地化,真的很难找到真正的解决方案。

创建一个新项目之后,打开xcodeproj fil e在文本编辑器中手动完成。
几行后你会发现类似的东西:

This a trick more than an answer, a real solution is really hard to find if you want to keep the Base localization.
Right after the creation of a new project, open the xcodeproj file manually in a text editor. After few line you'll find something like that:

developmentRegion = English;
            hasScannedForEncodings = 0;
            knownRegions = (
                en,
                Base,
            );

手动更改 developmentRegion 并在 knownRegions ,可以在xcode 6下的info选项卡中获得像yourlanguage-development语言这样的本地化。

我已经提交了雷达(n° 19438250)向Apple要求下拉菜单'选择项目的开发语言或澄清该问题。

By changing manually developmentRegion and the reference in knownRegions, is possible to obtain in the info tab under xcode 6 a localization like yourlanguage-Development language.
I've filed a radar (n° 19438250) to Apple asking a dropdown menu' to chose the development language of the project or clarify that problem.

这篇关于本地化本机开发区域,基本本地化和Appstore语言(包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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