GeoffZhu / vue-event-calendar

A simple events calendar for Vue2, no dependencies except Vue2.
http://geoffzhu.cn/vue-event-calendar/
635 stars 228 forks source link

Possible to Customize i18n? #43

Closed krsyoung closed 7 years ago

krsyoung commented 7 years ago

Is it possible to customize the i18n for a given language?

In my case, being able to customize format, fullFormat, dayEventsTitle and notHaveEvents would be incredibly helpful. Here is an example of what I might want to change:

en: {
    dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
    monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
    format: 'January 2017',
    fullFormat: 'yyyy-MM-dd',
    dayEventsTitle: 'All Meetings',
    notHaveEvents: 'No Meetings Scheduled'
  },
GeoffZhu commented 7 years ago

It's best to fork your own version

krsyoung commented 7 years ago

Ok will do. Thanks.