Skip to main content

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

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. 


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.


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