During initialization, the application loads the language defined in the browser. But this loading does not modify the browser locale, which is english by default. Because of this, the date pickers are in english
This will load the locale according to the browser's language, but only at the application's startup. Changing the language on the application will therefore have no effect on the date pickers
Description
During initialization, the application loads the language defined in the browser. But this loading does not modify the browser locale, which is english by default. Because of this, the date pickers are in english
Steps to reproduce
Actual result
Weekdays and month names are in english
Expected result
Weekdays and month names are in french
Hints
Add this provider in
app.module.ts
:Notes
This will load the locale according to the browser's language, but only at the application's startup. Changing the language on the application will therefore have no effect on the date pickers