I am trying to fully localize the alloyui scheduler in French. Following this article: How can I get a localized version of a YUI 3 or AlloyUI component? the job is almost done. However I am still missing tips for two things: - I need the time format in the left column to be changed from 1-12am/pm to 1-24 - I don't succeed to localize the "All day" term in the left top corner (or at least a way to hide it).
Any help will be welcome
To change to a 24 hour clock, you need to set the
isoTime
attribute totrue
for eachSchedulerView
subclass that you are using.To internationalize the strings, you need to set the
strings
attribute ofScheduler
,SchedulerDayView
SchedulerWeekView
,SchedulerMonthView
,SchedulerAgendaView
, andSchedulerEventRecorder
as well as settingYUI
'slang
attribute to the locale of your choice. For example, I've used Google Translate* to internationalize theScheduler
below for Spanish users:* I don't recommend using Google Translate to internationalize a production application since there are many nuances to internationalization that a machine translation will miss.