Localization strings for datetimepicker

5 posts, 0 answers
  1. Auvo
    Auvo avatar
    35 posts
    Member since:
    Jul 2011

    Posted 27 Jul 2011 Link to this post


    What are the localization strings to datetimepicker - navigation popup controls (Close-button, Clock) ?

    I'm using RadControls for WPF (WPF40_2011_2_0712)

  2. Yana
    Yana avatar
    4604 posts

    Posted 28 Jul 2011 Link to this post

    Hi Auvo,

    Localization of RadDateTimePicker is in our ToDo list, you can vote for it and track its progress here.

    For now, you can localize the DateTimeWatermarkContent as explained here.

    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Pavel
    Pavel avatar
    8 posts
    Member since:
    Aug 2011

    Posted 23 Aug 2011 Link to this post

    Until the
    team solves the hard problem with the own hardcoded strings I suggest a workaround
    public class DateTimePickerEx : RadDateTimePicker
        public override void OnApplyTemplate()
            var clockPicker = GetTemplateChild("PART_Clock") as DateTimePickerClock;
            if (clockPicker != null)
                clockPicker.Header = RM.GetString("Clock");
            var btnClose = GetTemplateChild("PART_Close") as RadToggleButton;
            if (btnClose != null)
                btnClose.Content = RM.GetString("Close");
    Best Regards,
  4. Sylvain
    Sylvain avatar
    1 posts
    Member since:
    Jul 2014

    Posted 03 Dec 2014 in reply to Yana Link to this post

    Has the localization for the WPF RadDateTimePicker control been done since this post (2011) ?

    I need to set the calendar permanently to French in my application instead of relying on the user's environnement. Do you have a step-by-step example of how to do that in VB ?  Thanks.
  5. Yana
    Yana avatar
    4604 posts

    Posted 04 Dec 2014 Link to this post

    Hello Sylvain,

    Yes, RadDateTimePicker provides localization ( you could check here for details), additionally since French is one of the languages we have built-in support for, all you need to do is to set CurrentCulture and CurrentUICulture of the CurrentThread like this:

    Thread.CurrentThread.CurrentCulture = New CultureInfo("fr")
    Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr")

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top