Pluralization in the Translation Management Platform
Hi there! I am making use of the new translation management platform and was curious what the proper way to handle pluralization is.
I see the existing pluralization logic:
{{ pluralize count "stringForOne" "stringForMany" }}
For the translation management provider, I've been able to use:
{{ i18n "container.keyname" count=step.total_count }}
With the i18n provider, how do we make use of different keys based on how many items to use? Thank you in advance!8 Replies
@Gali Baum could you please help us here
Hi! I am working on that. It should be part of the upcoming release. I'll keep you updated @Shaun
@Shaun sorry, I was wrong. It should work for you like this:
In the translation file:
In the editor, it would be used:
And this will be the output
I added an example for gender specific translations
@Shaun Was the information provided helpful? Did it answer your question?
Hi there! Testing now and will report back π Thank you all for the suggestions
Seems to be working! Thank you again π
Thanks for the update @Shaun!