NovuN
Novu2y ago
Shaun

Pluralization and variable filling

Hi there! I am running into an issue when trying to supply a variable to be put into a localized translation string while also trying to pluralize form digestion. In this case I have:
{
"string-withname": "{name} did one thing",
"string-withname_plural": "{name} did many things"
}


Then I am referencing it like {{i18n "group.string-withname" name=name count=step.total_count}}

Each time I digest multiple items, I still get the non-pluralized version.

Does anyone see an issue with this? Curious if filling a variable and using count is not supported? Thanks!
Was this page helpful?