Skip to main content
Solved

Localizing Paywalls V2 variables


Forum|alt.badge.img+7

Hi all, I have a little question about localizing price strings.

 

In English the variable  {{ product.price_per_period_abbreviated }} returns $9.99/mo which is perfect but I can’t find in the docs what variables are localized so would that translate automatically for users in other locals? or should I provide the abbreviation myself (in this case Chinese) {{ product.price_per_period }}/月

Thanks so much

Best answer by Jens

Hi ​@Nic Deane , all the variables that include text (like the one you mentioned) are localized, you don’t have to include the translation yourself. 

View original
Did this post help you find an answer to your question?
This post has been closed for comments

3 replies

Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 191 replies
  • Answer
  • June 24, 2025

Hi ​@Nic Deane , all the variables that include text (like the one you mentioned) are localized, you don’t have to include the translation yourself. 


Forum|alt.badge.img+7
  • Author
  • Helper
  • 17 replies
  • June 24, 2025

Thanks ​@Jens Jens, I noticed when looking on the preview with another language selected in the V2 builder, that those variables aren't localized. Is that because it is just sample data? whereas in a live situation those variables pull the localizations I have provided in App Store Connect?

Thanks for clarifying.


Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 191 replies
  • June 24, 2025

That’s correct and indeed somewhat confusing. I will give this as feedback to the team.


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