Skip to main content
Question

How can I remove the currency symbols in price text?

  • Jul 24, 2023 2:54 AM UTC
  • 5 replies
  • 398 views

Forum|alt.badge.img+5

Why the localizedPriceString shows “$9.99” in development, but shows “US$9.99” in production? 

Is there any way to remove the currency symbols? 

This post has been closed for comments

5 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • Jul 26, 2023 4:10 PM UTC

Hey @vulgur Can you please send in screenshots of what you are seeing in development vs production?


Forum|alt.badge.img+5
  • Author
  • New Member
  • Jul 31, 2023 2:45 AM UTC

Hey @vulgur Can you please send in screenshots of what you are seeing in development vs production?

There’s no US in development. 

 

But there is US before the price in production.

 


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • Aug 4, 2023 7:42 PM UTC

Is this happening in iOS 16 or 17?


Forum|alt.badge.img+5
  • Author
  • New Member
  • Aug 12, 2023 10:39 AM UTC

Is this happening in iOS 16 or 17?

iOS 16


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • Aug 14, 2023 4:29 PM UTC

Hey @vulgur ,

 

This string comes directly from Apple but it is interesting that you're getting two different results like that. Are the screenshots from the same device as well? If not, can you test development and production on just one device and let me know if you are seeing the same response?