node.js - Use plurals with i18n-node -
in en.json file have this:
{ "house": { "one": "house", "other": "houses" } }
but if try in ejs:
<%= __n('house', 3) %>
or in handlebars
{{{__n 'house' 3}}}
it renders "house", not "houses"
what doing wrong ?
thanks !
Comments
Post a Comment