Forums

Datepicker short-days translation not working anymore

jj135 11 Feb, 2015
Hi! When I use this:

["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]

in the datepicker setup on the field 'Short Days' on the 'Advanced' tab of the element settings these days are not shown in the datepicker. The default (english) days are shown.

[attachment=0]datepicker_01.png[/attachment]

The Short Months value is used OK. The months are being translated.

In the HTML sourcecode of the form I do see:

data-shortdays="["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]"
data-shortmonths=["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]

[attachment=1]datepicker_02.png[/attachment]

So both values are being used as data elements on the input. But only the months are shown in the datepicker with the data-shortmonth values. The data-shortdays values are not used, but the english days are shown.

I also tried to add these values to the 'Extra params' on the 'General' tab. But that did not work either for the short-days.

I believe this did work on the previous version of CF5. I am now using 5.0.5 on Joomla 3.3.6. I'm not absolutely sure, but I thinks this changed after the update to CF 5.0.5. I know I had this working a while ago...

Kind regards,
Jip
Max_admin 14 Feb, 2015
1 Likes
Hi Jip,

Thanks for the report, bug found and fixed for the next update!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jj135 16 Feb, 2015
Hi Max,

You're welcome. When can we expect the next update? I believe CF5 can also now be updated using the 'updates' of the Joomla extension manager?
Max_admin 16 Feb, 2015
1 Likes
Yes, and the new update has been published yesterday, you should have an update notification in the Joomla admin now.
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jj135 16 Feb, 2015
Answer
Excellent. I applied the update and the days are translated OK. 😀
Max_admin 16 Feb, 2015
8-)
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 16 Feb, 2015
Hi Jip,

One more note, unfortunately a small glitch was found this morning, the textareas in the edit page wouldn't start a new line when you press "Enter", so a new update is supposed to be released shortly!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jj135 16 Feb, 2015
OK, thanks for the heads-up!
WoodyF4u 28 Mar, 2015
In the CFv5-editor of the date picker, I see this line:
List of days, can be used to translate the picker's days, e.g: ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa']

But when I use that code, the translation is not correct.

At your FAQ you wrote the text with double quote and that's the correct way.
So is it possible to change that line in the next update of CF?
Max_admin 28 Mar, 2015
Thanks Wouter, I have updated this!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.