Skip to main content
Answer

Localizing Paywalls V2 variables

  • June 24, 2025
  • 3 replies
  • 105 views

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. 

This post has been closed for comments

3 replies

Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 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
  • 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
  • June 24, 2025

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