A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-Humanize-Duration
-
Indeed, very cool. I really like it.
What is needed to add localisation to your module? My wife don’t like to ready the age of our daughter in englisch… :-) -
@andurii Thanks!
Using another language is really easy (thanks to HumanizeDuration.js): Just pass language as an option, like:
options: { units: ["y", "mo", "w", "d", "h"], round: true, language: 'de', conjunction: ' and ', serialComma: false, },
-
@ryck thank you for pointing me to this. Maybe you could also mention this in the readme or even use the specified standard language of the mirror as value here.
-
@andurii That’s a great idea, I’ll do that!
-
Congratulations upon reproducing!