开发者

In App Purchase Localization

开发者 https://www.devze.com 2023-02-28 03:55 出处:网络
I have added Japanese to the available languages for the in-app purchase product on iTunes Connect.I have set my phone to Japanese, however, when I开发者_JAVA百科 run the following code it still resul

I have added Japanese to the available languages for the in-app purchase product on iTunes Connect. I have set my phone to Japanese, however, when I开发者_JAVA百科 run the following code it still results in English text:

NSLog(@"Product description: %@" , proUpgradeProduct.localizedDescription);

Any help would be appreciated, Thanks


I think that SKProduct get the localized info according to the iTunes Store account with which you are logged in.

You need to create a Test User for the Japanese iTunes Store instead of the US iTunes Store (iTunes Connect -> Manage Users).

Then login as that user (Settings -> iTunes & App Stores) and reload your SKProducts.

That worked for me!


Are you running your test device in Japanese?

Go to General -> International -> Language and choose Japanese from there and try again. You don't have to localize your app to get this feature.

0

精彩评论

暂无评论...
验证码 换一张
取 消