Missing locale data for the locale
See original GitHub issue- Bug report
- Feature request
- Support request
Bug description
When I use latest version ^0.23.1 and using different locale then en then I get error, but with version ^0.22.2 it is working fine
- Missing locale data for the locale fr
- Monthly view is not working
Minimal reproduction of the problem with instructions
<mwl-calendar-month-view *ngSwitchCase="'month'" [locale]="fr" [viewDate]="viewDate" [events]="events" [refresh]="refresh"
[activeDayIsOpen]="activeDayIsOpen" (dayClicked)="dayClicked($event.day)" (eventClicked)="handleEvent('Clicked', $event.event)"
[weekStartsOn]="weekStartsOn" [weekendDays]="weekendDays" [cellTemplate]="customCellTemplate">
</mwl-calendar-month-view>
<mwl-calendar-week-view *ngSwitchCase="'week'" [locale]="fr" [viewDate]="viewDate" [events]="events" [refresh]="refresh"
(eventClicked)="handleEvent('Clicked', $event.event)" [weekStartsOn]="weekStartsOn"
[weekendDays]="weekendDays">
</mwl-calendar-week-view>
Versions
Angular: 5.1.3
Calendar library: 0.23.1
Browser name and version: chrome 63.0.3239.84
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Missing locale data for the locale "XXX" with angular
I had the same issue with this error message: Missing locale data for the locale "hu".' for pipe 'DatePipe'. This solved. Thanks! –...
Read more >DatePipe: Missing locale data for the locale "de" · Issue #20286
Current behavior. When I use DatePipe in my component it throws an error: Missing locale data for the locale "de". new DatePipe('de') ...
Read more >LOCALE_ID - Angular
Provide this token to set the locale of your application. It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe, ...
Read more >Error: InvalidPipeArgument: 'Missing locale data for the locale ...
enter directly this address, and route dashboard from login you will see the error, and also the start and end date datepickers are...
Read more >Dynamic Import of Locales in Angular | by Michael Karén
Missing locale data for the locale "nb-NO". This is because your module did not import before the pipe tried to use it. Since...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to register the hebrew locale data in
module.ts
(like for the other languages):https://stackblitz.com/edit/angular-6su8pq-uxnpeg?file=demo/module.ts