hi
my class localization is
public class CustomSchedulerNavigatorLocalizationProvider : SchedulerNavigatorLocalizationProvider
{
public override string GetLocalizedString(string id)
{
switch (id)
{
case SchedulerNavigatorStringId.AgendaViewButtonCaption:
{
return "دستور کار";
}
case SchedulerNavigatorStringId.DayViewButtonCaption:
{
return "روزانه";
}
case SchedulerNavigatorStringId.WeekViewButtonCaption:
{
return "هفتگی";
}
case SchedulerNavigatorStringId.MonthViewButtonCaption:
{
return "ماهانه";
}
case SchedulerNavigatorStringId.TimelineViewButtonCaption:
{
return "تایم لاین";
}
case SchedulerNavigatorStringId.ShowWeekendCheckboxCaption:
{
return "تعطیلات هفته";
}
case SchedulerNavigatorStringId.TodayButtonCaptionToday:
{
return "امروز";
}
case SchedulerNavigatorStringId.TodayButtonCaptionThisWeek:
{
return "این هفته";
}
case SchedulerNavigatorStringId.TodayButtonCaptionThisMonth:
{
return "این ماه";
}
case SchedulerNavigatorStringId.SearchInAppointments:
{
return "جستجو ";
}
}
return String.Empty;
}
}
but agenda view not translat!!!
2-Can I write code for today's event?
Hello Ebrahim
Try this code in your Main Class to switch current Provider
SchedulerNavigatorLocalizationProvider.CurrentProvider = new CustomSchedulerNavigatorLocalizationProvider();
More infos here:
Localizing RadScheduler - WinForms Scheduler Control | Telerik UI for WinForms
Yours
Timo
please see atache image
only agenda not translat