我无法本地化XCode项目?说该项目尚未本地化 [英] I can not localize my XCode Project ? Says Project has not been localized
问题描述
我当前正在尝试对我的项目进行本地化,但是它不起作用. 我只是想向其中添加一种新语言,但是我无法选择任何资源. 如果我尝试本地化特定资源,则会收到类似您必须先本地化您的项目"之类的消息
I am currently trying to localize my Project but it doesnt work. I simply want to add a new language to it but i can not choose any resource. If i try to localize a specific resource i got a message like "You have to localize your Project first"
我被困住了,我不知道该怎么办?
I am stuck and i have no clue what to do ?
有什么想法吗?
推荐答案
其他解决方案对我不起作用,因此我最终通过在textedit中编辑project.pbxproj文件解决了这一问题.将knownRegions
从一个空列表更改为包含en
和Base
:
The other solutions didn't work for me so I ended up solving this by editing the project.pbxproj file in textedit. Change knownRegions
from an empty list to include en
and Base
:
knownRegions = (
en,
Base,
);
现在,我可以添加语言,并且它不会抱怨该项目未本地化.
Now I can add languages and it doesn't complain that the project isn't localized.
我无法本地化该项目,因为没有资源出现在列表中,并且我无法将资源添加到列表中,因为该项目未本地化.赶上22.(这是与Xcode 6.2一起使用的)
I wasn't able to localize the project because none of the resources appeared in the list and I couldn't add resources to the list because the project wasn't localized. Catch 22. (this is with Xcode 6.2)
这篇关于我无法本地化XCode项目?说该项目尚未本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!