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

"today", "day", "week" and "month" strings on radscheduler control are not localized during runtime

4 Answers 120 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Zhu
Top achievements
Rank 1
Zhu asked on 25 Mar 2013, 03:19 AM
 we have wrote the localized codes for strings "today", "day", "week" and "month" shown in radscheduler control,and the strings will be read from database to get the localized strings. for example:                   _view.ResourceScheduler.Localization.AdvancedCalendarCancel = I18N.Tag("Cancel");
            _view.ResourceScheduler.Localization.AdvancedCalendarOK = I18N.Tag("OK");
            _view.ResourceScheduler.Localization.AdvancedCalendarToday = I18N.Tag("Today");
            _view.ResourceScheduler.Localization.HeaderToday = I18N.Tag("today");
            _view.ResourceScheduler.Localization.HeaderDay = I18N.Tag("Day");
            _view.ResourceScheduler.Localization.HeaderMonth = I18N.Tag("Month");
            _view.ResourceScheduler.Localization.HeaderWeek = I18N.Tag("Week");
            _view.ResourceScheduler.Localization.ShowMore = I18N.Tag("more...");
when we first load the pages which contain radscheduler control and don't do any operations for this control, it will be shown the correct localized strings, but when we click the navigation tab Day/Week/Month or select an event scheduler the localzied strings will be returned to English ones. Please see the attachment, how to fix this issue? 

4 Answers, 1 is accepted

Sort by
0
Zhu
Top achievements
Rank 1
answered on 26 Mar 2013, 07:37 AM
can anyone else help to resolve this issue?
0
Plamen
Telerik team
answered on 26 Mar 2013, 07:54 AM
Hi Zhu,

 
I have tested the issue on -our configuration demo by changing the localization from the configurator and it worked properly at my side. Would you please elaborate how exactly is your case different from that one so we could be able to reproduce the issue and be more helpful?

Kind regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Zhu
Top achievements
Rank 1
answered on 26 Mar 2013, 08:12 AM
we do not use the culture property to configure the localization strings. we do localization by setting the ResourceScheduler.Localization during runtime.But it will take effect only when firstly load the page, if user create schedule event or do navigation operation the localized strings will be returned to english. 
0
Plamen
Telerik team
answered on 28 Mar 2013, 01:02 PM
Hello Zhu,

 
The issue sound quite unusual indeed.I have tried to reproduce the issue by isolation the issue not a sample project but to no avail. Here is a video of my test. Please review them and let me know if I am not testing properly or I have to add something else in order to reproduce the unusual behavior.

Kind regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Zhu
Top achievements
Rank 1
Answers by
Zhu
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or