evo-calendar icon indicating copy to clipboard operation
evo-calendar copied to clipboard

Is it possible to change language strings or to add new translations?

Open themca opened this issue 4 years ago • 5 comments

Is this possible or planed?

themca avatar Feb 24 '21 08:02 themca

Fixed in https://github.com/saber-mogaddas/evo-calendar

saber-mogaddas avatar Mar 16 '21 13:03 saber-mogaddas

Fix doesn't work image

brokieb avatar Mar 19 '21 10:03 brokieb

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...

edlynvillegas avatar Mar 31 '21 15:03 edlynvillegas

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 .

brokieb avatar Mar 31 '21 17:03 brokieb

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

saber-mogaddas avatar Apr 05 '21 12:04 saber-mogaddas