Content of several variables in a fuzzy string
-
Came across a fuzzy string today (link). Could someone shed some light on the contents of the three variables? Without it a proper translation is very difficult.
(This is an %1$s subscription, you will be charged %2$s again on %3$s)
The most important one is the first variable. I guess the second variable stands for an amount of money, the third for a specific date.
Cheers
Martin(IQ)The blog I need help with is: (visible only to logged in users)
-
Hi Martin!
I’m not sure how to add context within GlotPress, so I’ll need to contact the i18n team about that. But, I did find the context for the string.
This is an %1$s subscription, you will be charged %2$s again on %3$s
The first variable will end up being “annual” or “monthly”, then the second is the price charged and the third is the renewal date. From what I can tell the words “monthly” and “annual” for the first variable are hardcoded without translations though, so I’m going to float this in front of the internationalization developers.
-
Hi Martin,
We found a few problems with the string and our developer is currently working on a fix. Thanks for bringing this to our attention!
-
Hey there!
Our developers have fixed the issue by forking the string into three, giving translators more context as a result:
This is a monthly subscription.
https://translate.wordpress.com/projects/wpcom/de/default?filters%5Boriginal_id%5D=147073
This is an annual subscription.
https://translate.wordpress.com/projects/wpcom/de/default?filters%5Boriginal_id%5D=147072
You will be charged %1$s again on %2$s.
https://translate.wordpress.com/projects/wpcom/de/default?filters%5Boriginal_id%5D=147075
Thanks! :)
-
- The topic ‘Content of several variables in a fuzzy string’ is closed to new replies.