Change control language

4 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    5 posts
    Member since:
    May 2014

    Posted 29 May 2015 Link to this post

    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 ?

  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 03 Jun 2015 Link to this post

    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
  3. DevCraft banner
  4. Ahmed
    Ahmed avatar
    5 posts
    Member since:
    May 2014

    Posted 03 Jun 2015 in reply to Rosy Topchiyska Link to this post

    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 

  5. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 08 Jun 2015 Link to this post

    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
Back to Top