Change language on in app purchase alert popups

Hello,


I have implemented in app purchases in one of my apps and this app is made for people in China. I live in north america. Everything works great however all the alert messages that pop up (i.e to sign in, to inform user that purchase was successful) are in English. Is there a way to change it so that the alerts are in chinese or does apple base it on the localization of the user?.... Meaning the alert messages will be in chinese for all chinese users without me doing anything.

Thanks all!

Answered by KMT in 293893022

You should instead switch the language on the device to Simplified Chinese, as an example. System alerts will follow.

How are you testing?


You are asking about system UI alerts, right? Not custom?

Apple’s alert messages are localized so they appear in the user’s language. Your metadata contributions to those alerts can also be localized

So does that mean I don't have to worry about doing any of these translations myself?

Devs are responsible for translating their own alert strings, app name etc.

The alerts generated by the App Store will be in the language of the user but the contribution that you make through the IAPs metadata must be localized by you. So, if the App Store is writing “Do you want to purchase ...a golden sword ... for three yuan? then the “a golden sword” (your metadata) must be localized by you other wise in “reverse language” it will be “oD uoy tanw ot esahcrup... a golden sword... rof eerht nauy?”

Change language on in app purchase alert popups
 
 
Q