angular-gettext
angular-gettext copied to clipboard
plurals with offsets or multi-rules?
Does angular-gettext have support for offset as seen in ngMessageFormat or ng-pluralize? Or matching rules beyond singular and plural?
Thanks!
I'm trying to figure out a similar problem.
I'm using ng-pluralize with the 0 option as seen in this code sample
<ng-pluralize
count="vm.records.length"
when="{ '0': 'Add inspections',
'one': 'Add 1 inspection',
'other': 'Add {} inspections'
}">
</ng-pluralize>
It would be great if that case was handled, otherwise I'm going to have to setup an ng-switch to handle cases where count = 0.