Translate weekdays and months with "Intl", which is included by your browser. It is a really minimal approach.
npm i @dipser/wmlang.js
Since browsers have implemented Intl, they have language support date output. See caniuse.com/Intl. To use weekdays and months names for different things, we just need to select a Intl date and get the format of a weekday or month.