Search code examples
angularjsangular-translate

Angular Translate: How to handle singular and pluralis words?


I'm using Angular Translate. That is the easiest way to translate a string, where a word must change depending on singular or pluralis? Like "10 points added" vs. "1 point added"?


Solution

  • Angular-Translate already has this capability. There are instructions and an example at this page: http://angular-translate.github.io/docs/#/guide/14_pluralization