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

Change control language

3 Answers 77 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ahmed
Top achievements
Rank 1
Ahmed asked on 29 May 2015, 05:35 PM

Hi all,

 I need to change Calendar Language from English to Arabic ,  i tried to change current thread culture but it changes calendar to Hijry . i want the same English Calendar but in Arabic language with Arabic equivalent translation to English months  and although days names

for example : January = يناير  / Sunday = الأحد

 is there any solve for that ?

3 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 03 Jun 2015, 11:27 AM
Hello Ahmed,

Thank you for contacting us.

You can try with this configuration:
calendar.Culture = new CultureInfo("ar-SA");
calendar.Culture.DateTimeFormat.Calendar = new GregorianCalendar();

I hope this helps.

Regards,
Rosy Topchiyska
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ahmed
Top achievements
Rank 1
answered on 03 Jun 2015, 09:41 PM

Thanks Rosy for your support.

Now already problem solved by your solution but it produced some issues :

- when i slide down or up days names is drawn reversed  for second then it is drawn correctly after sliding finished.

- numbers is still in English format not Arabic format 

0
Rosy Topchiyska
Telerik team
answered on 08 Jun 2015, 04:41 PM
Hello Ahmed,

Could you please send is a sample that reproduces the first issue, because on our side everything looks fine.

As for the second problem, from this thread in stackoverflow it seems that the CultureInfo will not help in this case. Unfortunately, the RadCalendar control does not support other way to customize the day cells content.

Let us know if you have any other questions.

Regards,
Rosy Topchiyska
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Ahmed
Top achievements
Rank 1
Share this question
or