How can I set or transtale the language for the datepicker in chronoform 6 ?
Forums
Datepicker language in CF 6
Any suggestion?
Hi deltafidesign,
I don't know if you can set the language in one go but you can change the language strings using code like this in the Extra attributes box
Bob
I don't know if you can set the language in one go but you can change the language strings using code like this in the Extra attributes box
data-days:S, M, D, M, D, F, S
data-monthsShort:Jan, Feb, Mar, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez
data-months:Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember
Bob
Hi,
You can add this in the Extra attributes box:
And this under the "Locales" section after you create a locale for your language of course:
Same method for the other strings.
Best regards,
Max
You can add this in the Extra attributes box:
data-days:{lang:short_days}
And this under the "Locales" section after you create a locale for your language of course:
short_days=[S, M, D, M, D, F, S]
Same method for the other strings.
Best regards,
Max
I've done what you suggested and I have this error:
Notice: Undefined offset: 1 in /home/sdfgdfg/mysite/libraries/cegcore2/admin/extensions/chronofc/helpers/parser.php on line 64
Notice: Undefined offset: 1 in /home/sdfgdfg/mysite/libraries/cegcore2/admin/extensions/chronofc/helpers/parser.php on line 64
Hi deltafidesign,
Please make sure that you have used = sign in the locales section, it's not like other sections where you use ":"
Best regards,
Max
Please make sure that you have used = sign in the locales section, it's not like other sections where you use ":"
Best regards,
Max
The localization works fine and I've used "=" sign, but if I set the joomla error displaying to "Maximum" I got this error that I didn't got before.
Do you have an empty line at the end of languages lines ?
Best regards,
Max
Best regards,
Max
Yes! removed the empty line solved the error.
Thanks!
Thanks!
This topic is locked and no more replies can be posted.