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

5 posts, 0 answers
  1. Zhu
    Zhu avatar
    9 posts
    Member since:
    Jan 2013

    Posted 24 Mar 2013 Link to this post

     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? 
  2. Zhu
    Zhu avatar
    9 posts
    Member since:
    Jan 2013

    Posted 26 Mar 2013 Link to this post

    can anyone else help to resolve this issue?
  3. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 26 Mar 2013 Link to this post

    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.
  4. Zhu
    Zhu avatar
    9 posts
    Member since:
    Jan 2013

    Posted 26 Mar 2013 Link to this post

    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. 
  5. Plamen
    Admin
    Plamen avatar
    3079 posts

    Posted 28 Mar 2013 Link to this post

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