pass two values in localize syntax angular code example
Example 1: i18n angular
content_copy
function plural(n: number): number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}
Example 2: i18n angular
content_copy
ng xi18n --format=xlf
ng xi18n --format=xlf2
ng xi18n --format=xmb