Skip to main content
Question

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

  • July 24, 2022
  • 1 reply
  • 176 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.

1 reply

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

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings