In App Purchase Localization
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.
精彩评论