Ask Echo JS : How to use plurals stored in JSON files with i18n-node?
▼2 up and 0 down, posted by
2 up and 0 down, posted by
In my en.json file I have this: { "house": { "one": "house", "other": "houses" } } But if I try this in EJS: <%= __n('house', 3) %> or this in Handlebars {{{__n 'house' 3}}} It always renders as "house", not "houses" What am I doing wrong ? Thanks !