W3cubDocs

/Angular

NgLocaleLocalization

Returns the plural case based on the locale

API

class NgLocaleLocalization extends NgLocalization {
  constructor(locale: string): NgLocaleLocalization;
  getPluralCategory(value: any, locale?: string | undefined): string;
}

constructor

NgLocaleLocalization
@paramlocalestring

getPluralCategory

string
@paramvalueany
@paramlocalestring | undefined
@returnsstring

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/NgLocaleLocalization