NgLocalization

From Get docs
< @angular/commonAngular/docs/9/api/common/nglocalization


NgLocalization

class

abstract class NgLocalization {
  abstract getPluralCategory(value: any, locale?: string): string
}

Subclasses

  • NgLocaleLocalization


Methods

abstract getPluralCategory(value: any, locale?: string): string

Parameters
value any
locale string Optional. Default is undefined.
Returns

string



© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/common/NgLocalization