TranslationWidth

enum experimental

npm Package @angular/common
Module import { TranslationWidth } from '@angular/common';
Source common/src/i18n/locale_data_api.ts

Overview

enum TranslationWidth {
  Narrow
  Abbreviated
  Wide
  Short
}

Description

Multiple widths are available for translations: narrow (1 character), abbreviated (3 characters), wide (full length), and short (2 characters, only for days).

For example the day Sunday will be:

  • Narrow: S
  • Short: Su
  • Abbreviated: Sun
  • Wide: Sunday

Members

Narrow

Abbreviated

Wide

Short

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/TranslationWidth