This is a migrated thread and some comments may be shown as answers.

localize Calendar

1 Answer 56 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Hamdy
Top achievements
Rank 1
Hamdy asked on 04 Apr 2010, 01:40 PM
I have an Arabic site

I need to localize the tool tim
So I did that
        
 window.onload = function() { 
document.getElementById('RadDatePicker1_calendar_NN').title ='<%=TranslatText("NextMonth") %>';
document.getElementById('RadDatePicker1_calendar_NP').title ='<%=TranslatText("PreviousMonth") %>';
document.getElementById('RadDatePicker1_calendar_FNN').title ='<%=TranslatText("NextMonth3") %>';
document.getElementById('RadDatePicker1_calendar_FNP').title ='<%=TranslatText("PreviousMonth3") %>';
document.getElementById('RadDatePicker2_calendar_NN').title ='<%=TranslatText("NextMonth") %>';
document.getElementById('RadDatePicker2_calendar_NP').title ='<%=TranslatText("PreviousMonth") %>';
document.getElementById('RadDatePicker2_calendar_FNN').title ='<%=TranslatText("NextMonth3") %>';
document.getElementById('RadDatePicker2_calendar_FNP').title ='<%=TranslatText("PreviousMonth3") %>';
}        

but now there is a tool tip for opening the month view
"Open the calendar popup"
I need to localize it 
How?


1 Answer, 1 is accepted

Sort by
0
Hamdy
Top achievements
Rank 1
answered on 04 Apr 2010, 01:53 PM
I found it


 RadDatePicker1.Calendar.NavigationNextToolTip = TranslatText("NextMonth")
                RadDatePicker1.Calendar.FastNavigationNextToolTip = TranslatText("NextMonth3")
                RadDatePicker1.Calendar.NavigationPrevToolTip = TranslatText("PreviousMonth")
                RadDatePicker1.Calendar.FastNavigationPrevToolTip = TranslatText("PreviousMonth3")
                RadDatePicker2.Calendar.NavigationNextToolTip = TranslatText("NextMonth")
                RadDatePicker2.Calendar.FastNavigationNextToolTip = TranslatText("NextMonth3")
                RadDatePicker2.Calendar.NavigationPrevToolTip = TranslatText("PreviousMonth")
                RadDatePicker2.Calendar.FastNavigationPrevToolTip = TranslatText("PreviousMonth3")
                '
                RadDatePicker1.DatePopupButton.ToolTip = TranslatText("DatePopupButton")
                RadDatePicker2.DatePopupButton.ToolTip = TranslatText("DatePopupButton")
Tags
Calendar
Asked by
Hamdy
Top achievements
Rank 1
Answers by
Hamdy
Top achievements
Rank 1
Share this question
or