evo-calendar
evo-calendar copied to clipboard
Is it possible to change language strings or to add new translations?
Is this possible or planed?
Fixed in https://github.com/saber-mogaddas/evo-calendar
Fix doesn't work
At the moment, available languages are en, es, de, pt. Adding languages can be done only by editing the evo js file (for now), you can see the languages there...
I trying but when i change languages strings i see NaN on month name for example
śr., 31 mar 2021, 17:28 użytkownik Edlyn Villegas @.***> napisał:
At the moment, available languages are en, es, de, pt. Adding languages can be done only by editing the evo js file (for now), you can see the languages there...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/edlynvillegas/evo-calendar/issues/47#issuecomment-811156464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBL3GAH4RZ72ZF3MYETVALTGM5RBANCNFSM4YEARZSQ .
Hi Guys Fixed Some Bug Again,
Change _.formatDate Method :
Old Version _.formatDate With Month Label And Because Another Language Month Label is Different.
For Example[Old Version]:
_.formatDate(new Date(_.$label.months[_.$active.month] +' 1 '+ _.$active.year), _.options.titleFormat, _.options.language);
Now I Change _.formatDate Method to formatData With Month Index And Month Index usually 12
For Example[I Changed To]:
_.formatDate(new Date((_.$active.month + 1) + '/01/' + _.$active.year), _.options.titleFormat, _.options.language);
Now ,I add Turkish Language And Work Without Bug When Use This Method! Link