Hi,
I have a multi-language site.
I use locales in Chronoforms.
Everything works OK.
I would like to translate date picker strings into multiple languages similarly to my form strings.
Is it possible?
ferino
I try this:
http://www.chronoengine.com/faqs/3330-how-do-i-set-the-date-picker-language
but not worked for me...
Hi ferino,
This is possible but it's not straight-forward. I think it can be done with JavaScript. I will experiment and report what I find here.
Bob
Hi Bob,
I think I figured it out:
I used variables:
data-shortdays=["_NED_", "_PON_", "_UTO_", "_STR_", "_STV_", "_PIA_", "_SOB_"]
And these variables I defined in the locales...
It seems that it works 😀
ferino
Hi ferino,
Well done - you are ahead of me :-)
Bob
Hi Ferino,
could you be more specific about locales? I did try it but take no effect.
still not working.
I set
locale: data-shortdays
language: en-gb
strict match: no
strings: _SU_=Sun
_Mo_=Mon
_TU_=Tue
_WE_=Wed
_TH_=Thu
_FR_=Fri
_SA_=Sat
what I did wrong?
thank you, now I understand and it works🙂