This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

TranslationWidth

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