Skip to content
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
@brycecr

Description

@brycecr

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions