NgLocaleLocalization

class

npm Package @angular/common
Module import { NgLocaleLocalization } from '@angular/common';
Source common/src/localization.ts

Overview

class NgLocaleLocalization extends NgLocalization {
  constructor(locale: string)
  protected locale: string
  getPluralCategory(value: any): string
  // inherited from common/NgLocalization
  getPluralCategory(value: any): string
}

Description

Returns the plural case based on the locale

Constructor

constructor(locale: string)

Members

protected locale: string

getPluralCategory(value: any): string

Annotations

@Injectable()

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