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

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

问题描述

我在 iTunesConnect(英语、法语、中文)中为应用内产品添加了各种本地化描述.使用 SKProductsRequest 从苹果服务器获取 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 帐户登录(设置=>商店=>退出).

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天全站免登陆