Buy Now
Sign in

FAQ search

Calendar settings

Details
Published: Thursday, 08 June 2017 05:57

In v6 there are various settings which can be used for the Calendar field

Localization

You can translate many strings in the calendar, for this you need to place the translated strings in the "Extra attributes" box in the calendar settings under "Advanced", here is a list of possible settings:

  • data-days:['S', 'M', 'T', 'W', 'T', 'F', 'S']
  • data-months:['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
  • data-monthsShort:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
  • data-today:'Today'
You can actually provide different languages translations for the strings using the Locales shortcode: {l:JAN} and use JAN=Janvier in the locales section.