填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

NgLocaleLocalization

Returns the plural case based on the locale

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

  // 继承自 common/NgLocalization
  abstract getPluralCategory(value: any, locale?: string): string
}
    

属性

属性说明
protected locale: string

方法

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

可选. 默认值是 undefined.

返回值

string