Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

NgLocaleLocalization

Returns the plural case based on the locale

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

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

Properties

Property Description
protected locale: string

Methods

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

Optional. Default is undefined.

Returns

string