Skip to main content
Question

package.storeProduct.localizedTitle always return the same text, not basing the locale or region.

  • July 24, 2022
  • 1 reply
  • 215 views

Forum|alt.badge.img+2

I have an app with IAP in SwiftUI.  When I showing purchase info to the user, I use

 

```swift

Text(package.storeProduct.localizedTitle)
Text(package.storeProduct.localizedDescription)
Text(package.storeProduct.localizedPriceString)

```

 

I noticed that “localizedPriceString” was changed base on the system region settings. However, “localizedTitle” and “localizedDescription” were fixed. I have localized for en-US, zh-Hans, and zh-Hant in my IAP settings. But I can only get Simplified Chinese localized strings in RevenueCat, it never showed the other two localized strings.

This post has been closed for comments

1 reply

Forum|alt.badge.img+4
  • New Member
  • September 14, 2024

Can you confirm your Store Locale matches? This was my issue in Simulator