Is there a way to change the language from English to French when selecting a month? I believe I need to configure something in the core.module.ts
. How can I achieve this?
https://i.sstatic.net/Cpl08.png
@NgModule({
declarations: [],
imports: [
CommonModule,
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
AppRoutingModule,
ReferenceDataModule,
IdentityModule,
NgxsModule.forRoot(
[AppState, AuthState, ProfileState, ReferenceDataState],
{
developmentMode: !environment.production,
}
),
NgxsStoragePluginModule.forRoot({
key: ["app", "auth", "profile", "referenceData"],
storage: StorageOption.SessionStorage,
}),
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
BsDatepickerModule.forRoot(),
TranslocoRootModule,
],
providers: [
{
provide: HTTP_INTERCEPTORS,
useClass: AppHttpInterceptor,
multi: true,
},
{
provide: MODAL_CONFIG_DEFAULT_OVERRIDE,
useValue: NGX_MODAL_OPTIONS,
},
{
provide: BsDatepickerConfig,
useFactory: NGX_DATEPICKER_OPTIONS,
},
],
exports: [AppRoutingModule, TranslocoRootModule],
})
export class CoreModule {}