Question

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

  • 24 July 2022
  • 0 replies
  • 103 views

Badge +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.


0 replies

Be the first to reply!

Reply