如何从Phonegap / Cordova项目中删除默认本地化?

时间:2023-01-13 22:10:51

I've just had a Phonegap/Cordova iPhone app approved for the app store but noticed it claims to be available in a bunch of other languages including Northern Sami. I've found the list of languages in xcode under localizations and tried deleting them but if I restart xcode they re-appear.

我刚刚为应用程序商店批准了一个Phonegap / Cordova iPhone应用程序,但发现它声称可以使用其他语言,包括Northern Sami。我在本地化下找到了xcode中的语言列表并尝试删除它们但是如果我重新启动xcode它们会重新出现。

I've also tried deleting lproj folders in the resources folders but that doesn't help either.

我也尝试删除资源文件夹中的lproj文件夹,但这也无济于事。

I'm at a loss to what to do next so any help would be much appreciated.

我不知道接下来要做什么,所以任何帮助都会非常感激。

1 个解决方案

#1


12  

Here is a step by step guide of how I do it. (Order matters)

这是我如何做的分步指南。 (订单事宜)

First go to the Resources folder in the Phonegap project. Within this folder there are several folders ending in *.lproj. Delete all of them except for en.lproj (Assuming your language is english).

首先转到Phonegap项目中的Resources文件夹。在此文件夹中有几个文件夹以* .lproj结尾。删除除en.lproj之外的所有内容(假设您的语言为英语)。

如何从Phonegap / Cordova项目中删除默认本地化?

Even though you deleted those files from your hard drive they're still linked in Xcode. Open up your *.xcodeproj and delete all of the folders from the side bar once again.

即使您从硬盘中删除了这些文件,它们仍然在Xcode中链接。打开* .xcodeproj并再次从侧栏中删除所有文件夹。

如何从Phonegap / Cordova项目中删除默认本地化?

Normally this should suffice, but if you're still having problems go to the app's project tab (rather than target) and under info you can find and remove all the current localisations.

通常这应该足够了,但是如果你仍然遇到问题,请转到应用程序的项目选项卡(而不是目标),在信息下,您可以找到并删除所有当前的本地化。

如何从Phonegap / Cordova项目中删除默认本地化?

Oh and btw if this still isn't enough you can look at the details of your app's binary in iTunesConnect to verify if it worked before releasing the app.

哦,顺便说一句,如果仍然不够,你可以在iTunesConnect中查看应用程序二进制文件的详细信息,以便在发布应用程序之前验证它是否有效。

如何从Phonegap / Cordova项目中删除默认本地化?

#1


12  

Here is a step by step guide of how I do it. (Order matters)

这是我如何做的分步指南。 (订单事宜)

First go to the Resources folder in the Phonegap project. Within this folder there are several folders ending in *.lproj. Delete all of them except for en.lproj (Assuming your language is english).

首先转到Phonegap项目中的Resources文件夹。在此文件夹中有几个文件夹以* .lproj结尾。删除除en.lproj之外的所有内容(假设您的语言为英语)。

如何从Phonegap / Cordova项目中删除默认本地化?

Even though you deleted those files from your hard drive they're still linked in Xcode. Open up your *.xcodeproj and delete all of the folders from the side bar once again.

即使您从硬盘中删除了这些文件,它们仍然在Xcode中链接。打开* .xcodeproj并再次从侧栏中删除所有文件夹。

如何从Phonegap / Cordova项目中删除默认本地化?

Normally this should suffice, but if you're still having problems go to the app's project tab (rather than target) and under info you can find and remove all the current localisations.

通常这应该足够了,但是如果你仍然遇到问题,请转到应用程序的项目选项卡(而不是目标),在信息下,您可以找到并删除所有当前的本地化。

如何从Phonegap / Cordova项目中删除默认本地化?

Oh and btw if this still isn't enough you can look at the details of your app's binary in iTunesConnect to verify if it worked before releasing the app.

哦,顺便说一句,如果仍然不够,你可以在iTunesConnect中查看应用程序二进制文件的详细信息,以便在发布应用程序之前验证它是否有效。

如何从Phonegap / Cordova项目中删除默认本地化?