j3k0 / cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows
https://purchase.cordova.fovea.cc
1.29k stars 529 forks source link

Change language depending on region / location #1185

Closed MarcelSchuermann closed 2 months ago

MarcelSchuermann commented 3 years ago

My periodUnits always shows in english (f.e. "Year"). Is it possible to change this to the local unit (f.e. "Jahr" in german)?

geleto commented 3 years ago

I also have this problem. Is the language always English, or does it depend on the App/Play Store country, or on the device locale? I would like to be able to specify the language in store.register(), as the user can select a different language for the app. AFAIK apple and google require you to display the actual data received for the product and not hardcoded strings, so getting the language right is important.

JZubero commented 2 years ago

Same here. @MarcelSchuermann + @geleto Did you guys find a solution already?

MarcelSchuermann commented 2 years ago

Same here. @MarcelSchuermann + @geleto Did you guys find a solution already?

@JZubero: I did not find a solution but my app was accepted in the stores with english unit information.

Dexus commented 2 years ago

Normal the App will based on the system Settings use the formation of the currency and every international formatting it get from the store api. So you don’t need to change everything. Only as a small note.

I had never an issue with any app.

Von meinem iPhone gesendet

Am 15.09.2021 um 17:30 schrieb Marcel Schürmann @.***>:

 Same here. @MarcelSchuermann + @geleto Did you guys find a solution already?

@JZubero: I did not find a solution but my app was accepted in the stores with english unit information.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

yuto7th commented 2 months ago

@Dexus I am also facing the same issue. When I submitted my app to the App Store yesterday, it was correctly displaying in Japanese yen on my end. However, despite this, it appeared in dollars for the reviewer and was rejected. Please advise on the best course of action to address this. I will send you screenshots of how it appears on my end and the rejection notice from the App Store reviewer. Additionally, I am displaying the "product.price" obtained from the product at the time of "store.ready". If this issue cannot be resolved, I cannot update the app. Could someone please follow up on this? Also, I am using plugin version v11.

・Correct display

・Incorrect display (the one that got rejected)