We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there anyway to get plural working within attributes such as:
<span title="{{'1 Comment' | translate: translate-n='count' translate-plural='{{count}} Comments' }}"></span>
The text was updated successfully, but these errors were encountered:
Not yet, but I've been wanting to add it. I'd look something like this to match Angular.JS style:
<span title="{{'1 Comment' | translate:count:'{{count}} Comments'}}"></span>
Sorry, something went wrong.
Anyone who wants to have a go at implementing this: go for it.
This should become:
{{"1 car" | translatePlural:n:"$count cars"}} {{"1 car" | translatePlural:n:"$count cars":"domain"}} // With a domain
is this working somehow? if so, how?
No branches or pull requests
Is there anyway to get plural working within attributes such as:
The text was updated successfully, but these errors were encountered: