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

Translate days to hebrew

7 Answers 62 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alon
Top achievements
Rank 1
Alon asked on 12 Jun 2011, 05:28 PM
Hi,
I need to traslate (localization) the days names in week view to hebrew and could'nt find how to do that through the Localization-... properties of the RadScheduler control.
For example from Sunday to ראשון
Is there a resource file i need to update for the translation?
Thank you.

7 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 13 Jun 2011, 08:12 AM
Hi Alon,

Please take a look at this help article for translating strings in RadScheduler and let me know if you have further questions.  

Greetings,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Alon
Top achievements
Rank 1
answered on 13 Jun 2011, 12:25 PM
Hi Veronica,
Thank you for the reference but still did not found the way to change the week days names to hebrew (not included in the resource file)
must be some property i'm missing here
Thank you.
0
Veronica
Telerik team
answered on 13 Jun 2011, 01:07 PM
Hello Alon,

Please accept my apologies for misleading you.

Unfortunately there is no way to translate the days of week neither via the Loacalization properties nor the .resx file. This is just not implemented in RadScheduler. I guess that you can use jQuery instead and access each day of week and translate it. However could you please be more specific where do you want to translate the days of week and I will help you with the jQuery implementation?

Kind regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Veronica
Telerik team
answered on 13 Jun 2011, 01:13 PM
Hello Alon,

Oh, I just researched the issue further and the solution is to set the Culture property of the RadScheduler. If you set it to Culture="Hebrew (Israel)" all the days will be translated in Hebrew.

Hope this helps.

Best wishes,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Alon
Top achievements
Rank 1
answered on 14 Jun 2011, 06:46 PM
Hi,
Culture did'nt translate the week days names to hebrew
i've used jquery to translate the days using the $(".rsHorizontalHeaderTable").html() property + replace function
and invoke my function on $(document).ready(function... event
now i can see the translation after page load but after a few miliseconds the text changes back to english
on which event i should invoke my function?(event trigger after radscheduler finish rendering on the client like defer in javascript)
 
0
Alon
Top achievements
Rank 1
answered on 15 Jun 2011, 11:55 AM
I would like to update that i found the solution for translate the header week days
I've used jquery which i've described before and invoke the function in the telerik:RadScriptBlock inside function name pageLoad

window
.$ = $telerik.$;
function pageLoad()

 
0
Veronica
Telerik team
answered on 15 Jun 2011, 02:10 PM
Hello Alon,

I am glad that you found the solution to this issue.

Please let me know if you have further questions.

Regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Alon
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Alon
Top achievements
Rank 1
Share this question
or