strings文件中添加其他语言

strings文件中添加其他语言

本文介绍了本地化-在localizable.strings文件中添加其他语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了此帖子有关如何添加本地化到应用程序.答案非常广泛,非常有帮助.

I have found this post about how to add localization to an app. The answer is very extensive and very helpful.

只有一件事:

选择"Localizable.strings"文件时,我打开文件检查器,然后单击本地化"窗格中的进行本地化.."按钮.在弹出窗口中,我可以选择一种语言,但是实际上只有一种语言可以选择形式.英语.没有其他选择.但是好吧,选择英语选项后,我点击了本地化"按钮.

When selecting the 'Localizable.strings' file I open the File Inspector and I click on the button 'Make localized..' within the Localization pane.In the pop-up I can select a language but there is actually only one language to select form; English. There are no other options. But OK, having the option English selected I click on the button 'Localize'.

现在,在文件检查器的本地化"窗格中,我看到了英语"选项.

Now, in the file inspector, within the Localization pane I see the option English selected.

我的问题:我没有"+"按钮来添加其他语言.

My problem: I do not have a '+' button to add an additional language.

有人知道是什么原因造成的吗?如何添加其他语言?我正在使用Xcode 4.4.

Doe anybody know what is causing this? How can I add an additional language?I am using Xcode 4.4.

推荐答案

您必须首先在项目的信息"选项卡的本地化"部分中添加本地化.一旦添加到项目中,新的本地化即可用于字符串文件.

You have to add the localization first in the "Localization" section of the "Info" tab for the project. Once added to the project, the new localization is available for the strings file.

这篇关于本地化-在localizable.strings文件中添加其他语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 04:24