Skip to main content
Question

Localising String with Trial Period in it


Forum|alt.badge.img+4

Hi, 

So I’m having trouble to translate the string. 

"%@ Free. No payment now" = "%@ Free. No payment now";

%@ - represents 1 Week, that is coming back to RC. 

The issue is that I wish that word ‘week’ would be included into the string.

example: "%@ Week Free. No payment now" = "%@ Free. No payment now";

Since translating into Japanese, Korean, Chinese, French, German - it depends on the language where the word Week is. It might not necessarily be right away after the ‘1’. 

What is the best way to handle this? 

This post has been closed for comments

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 392 replies
  • July 14, 2023

Hey @appsdev-hyper,

A little more information could be helpful - where are you pulling the string from originally?


Forum|alt.badge.img+4

So the part of the string comes from StoreKit. The part that includes the Trial period. 

The other part comes from me (static) - No payment now. 

It’s a similar issue like here: https://community.revenuecat.com/sdks-51/how-to-localise-periodtitle-2871


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