This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Status of declarative plurals in 1.4 beta? #11338
Closed
Description
Does 1.4.0-beta.5 have support for declarative plurals? The talk at ng-conf seemed to suggest that 1.4 might already have support for writing this syntax, but I keep getting lexer errors on the following:
<span>
<!--i18n: Plural Fun-->
{{model.numMessages, plural,
=0 { You have no new messages }
=1 { You have one new message }
other { You have # new messages }}}
<!--/i18n-->
</span>
I was curious if this is because declarative plural support isn't in any angular release yet (including beta), or because I was doing something wrong.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels