Missing locale data for the locale "XXX" with angular

Discussão em 'Angular' iniciado por ssougnez, Março 15, 2025.

  1. ssougnez

    ssougnez Guest

    I currently define "LOCALE_ID" on "en-US" this way:

    @NgModule({
    providers: [{ provide: LOCALE_ID, useValue: "en-US" }, ...],
    imports: [...],
    bootstrap: [...]
    })


    and it works pretty well. However, in order to test how dates look like in French, I replaced "en-US" by "fr-FR" and then I got the error:


    Missing locale data for the locale "fr-FR".
    ​

    I did some researches and I didn't find anything related to that. Are the locale for french included in the default package? Is it a different package? Do I have to create them by myself?

    Continue reading...

Compartilhe esta Página