implement pluralization for server-side and js
Merge pull request #605 from kubabrecka/i18n_pluralization

implement pluralization for server-side and js