VincentLoy/simplyCountdown.js

Change language

Closed this issue · 1 comments

Hi!

Is it possible to change the words displayed on the countdown so one could change the language? Thank you!

Hello @gacor84 ! You can change the language by editing the words parameter that is a Javascript Object.

Taken from the readme example:

words: { //words displayed into the countdown
    days: 'day',
    hours: 'hour',
    minutes: 'minute',
    seconds: 'second',
    pluralLetter: 's'
},

Hope that'll help 👍