测试多语言的应用程序内购买 [英] Testing In-App purchases for multilanguage

查看:120
本文介绍了测试多语言的应用程序内购买的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在iTunesConnect(英语,法语,中文)中包含各种本地化描述,以用于应用内商品。我在使用SKProductsRequest从apple服务器获取localizedTitle和localizedDescription属性后显示了这些属性。

I have included various localized descriptions in iTunesConnect (English, French, Chinese) for an in-app product. I am displaying the localizedTitle and localizedDescription properties after fetching them from apple's server using an SKProductsRequest.

我从文档和其他线程的理解是,如果我将测试手机更改为相关语言将显示正确的语言。但是,在用我的法语或中文测试时,产品描述仍然是原始英语。

My understanding from the docs and other threads is that if I change the test phone to the relevant language it will display the correct language. However in testing with my phone in French or Chinese the product descriptions are still in the original English.

我在测试期间没有使用任何iTunes帐户登录(设置= > Store => Signout)。

I am not logged on with any iTunes account during the testing (Settings=>Store=>Signout).

任何人都可以提供如何测试IAP多语言功能的任何提示吗?

Can anyone provide any hints how to test the IAP multilingual functionality?

推荐答案

我认为商店为产品描述返回的本地化是基于您正在使用的测试用户的指定iTunes商店。设备的语言设置仅适用于本地加载的资源。

I believe the localization that the store returns for the product description is based on the assigned iTunes store of the test user you are using. The device's language setting only pertains to the resources loaded locally.

这篇关于测试多语言的应用程序内购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆