Localize datepicker dynamically, can it be done?
Hi everyone, I am building an Angular app and I would like to know if it is possible to localize the datepicker dynamically. The web page shows a URL to change the language of the page from English to French and vice-versa and the datepicker needs to localize accordingly.
I was able to add datepicker-fr to angular.json and it is now appearing in French but how can I switch it depending on the user's selection?
Thank you,
Pierre