Question

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


Badge +1

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