Translation problem

6 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 08 Jun 2012 Link to this post

    Hi,

    I.m using WPF and Telerik 2012.1.326.35 and I remark a translation problem with the RadDatePicker. All my environment is in french but when I manually enter a wrong date in the control, a tooltip appear in english with the word "Error".

    How I can fix this???

    Thank's
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 11 Jun 2012 Link to this post

    Hello Oliver,

    The problem you are having can be solved by adding in a custom error tooltip content in the language you desire. Here is a simple code that represents this:

    <telerik:RadDateTimePicker
                ErrorTooltipContent="Your error message here"
                Culture="fr-FR"
                DateSelectionMode="Day"
                InputMode="DateTimePicker"
                >
    </telerik:RadDateTimePicker>

    I hope this helps. If you have any followup questions feel free to ask them.

    Greetings,
    Vlado
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 11 Jun 2012 Link to this post

    Hi Vlado,

    actually my application can run in english and in french, actually the mesage message is always in english. To support both language, I'm not sure to fully understand how to handle this?!?

    Thank's
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 12 Jun 2012 Link to this post

    Hi Oliver,

    I have prepared a simple project  that will help achieve your task.  It demonstrates how to use LocalizationManager to set the localization for RadDatePicker. You just need to add resx files to your project for the languages you want to use.

    At the following link you can find more information about the localization specifics of our controls:
    Localization for RadControls

    Kind regards,
    Vlado
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 12 Jun 2012 Link to this post

    Hi Vlado,

    there is no existing resource key for this value?

    Thank's
  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 12 Jun 2012 Link to this post

    Hello Oliver,

    There is a resource key for that value but it hasn't been localized on our side yet.  Anyway, this is already fixed and the fix will be available in the next internal build.

    All the best,
    Vlado
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready