InterviewHubPRO
Section Overview
Q185

Question 185 of 283

Part 8: Internationalization (i18n), Testing & DOM Directives (177 - 212)

65%
Angular & Signals (283 Qs)•Part 8: Internationalization (i18n), Testing & DOM Directives (177 - 212)

List down the pluralization categories?

Pluralization has below categories depending on the language.

  1. =0 (or any other number)
  2. zero
  3. one
  4. two
  5. few
  6. many
  7. other

Practical Code Example

html
<!-- ICU Pluralization Categories: zero, one, two, few, many, other -->
<span i18n>Updated {minutes, plural, =0 {just now} =1 {one minute ago} other {{{minutes}} minutes ago}}</span>