angular i18n in component code example
Example 1: i18n angular
content_copy
ng xi18n --output-path src/locale
Example 2: i18n angular
content_copy
<span i18n>Updated: {minutes, plural,
=0 {just now}
=1 {one minute ago}
other {{{minutes}} minutes ago by {gender, select, male {male} female {female} other {other}}}}
</span>