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.
- =0 (or any other number)
- zero
- one
- two
- few
- many
- 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>