Skip to content

bug(ivy): i18n problem with select ICU expressionsΒ #34018

Closed
@osnoser1

Description

@osnoser1

🐞 bug report

Affected Package

The issue is caused by package @angular/....

Is this a regression?

Yes, works with VE.

Description

When using a select icu expression throws an exception at runtime.

πŸ”¬ Minimal Reproduction

Use select ICU expressions in angular apps.
Minimal repo: https://github.com/osnoser1/angular9-i18n-ivy-ssr

  • Install dependencies.
  • Execute ng serve -c es

πŸ”₯ Exception or Error


core.js:17 ERROR Error: ASSERTION ERROR: Missing key "other" in ICU statement.
    at throwError (core.js:17)
    at assertGreaterThan (core.js:17)
    at parseICUBlock (vendor.js:49378)
    at extractParts (vendor.js:49276)
    at i18nStartFirstPass (vendor.js:49726)
    at Ι΅Ι΅i18nStart (vendor.js:49618)
    at Module.Ι΅Ι΅i18n (vendor.js:50631)
    at AppComponent_Template (app.component.html:305)
    at executeTemplate (core.js:17)
    at renderView (core.js:17)

🌍 Your Environment

Angular Version:


9.0.0-rc.3

Anything else relevant?

Metadata

Metadata

Assignees

Labels

area: i18nIssues related to localization and internationalizationregressionIndicates than the issue relates to something that worked in a previous versionstate: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions