W3cubDocs

/Angular 12

NgLocaleLocalization

class final

Returns the plural case based on the locale

class NgLocaleLocalization extends NgLocalization {
  protected locale: string
  override
  getPluralCategory(value: any, locale?: string): string

  // inherited from common/NgLocalization
  abstract getPluralCategory(value: any, locale?: string): string
}

Properties

Property Description
protected locale: string
override

Methods

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

Parameters
value any
locale string

Optional. Default is undefined.

Returns

string

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/common/NgLocaleLocalization