linkTranslationWidth
npm Package | @angular/common |
---|---|
Module | import { TranslationWidth } from '@angular/common'; |
Source | common/src/i18n/locale_data_api.ts |
linkOverview
enum TranslationWidth {
Narrow
Abbreviated
Wide
Short
}
linkDescription
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