Open aubrey-fowler opened 6 years ago
In my translation object I have:
DAY: 'Day', DAY_plural: 'Days', DAY_WITH_COUNT: '{{count}} day', DAY_WITH_COUNT_plural: '{{count}} days'
But when I try to use this in my controller I get this output
console.log($i18next.t('DAY_WITH_COUNT', { count: 1 })); // 1 day console.log($i18next.t('DAY_WITH_COUNT', { count: 2 })); // 2 day
What could be wrong? I am using Angular 1.5.3
In my translation object I have:
But when I try to use this in my controller I get this output
What could be wrong? I am using Angular 1.5.3