Localization mechanism doesn't work on RadDiagnostics

2 posts, 1 answers
  1. Michael
    Michael avatar
    12 posts
    Member since:
    Oct 2012

    Posted 17 Jan 2014 Link to this post


    I have read the localization mechanism.

    I have localized following Keys in my own Resourcefile (TelerikControlsLocalizedResources.resx)

    - Diagnostic_MessageBox_Content

    - Diagnostic_MessageBox_Title

    - MBNoText

    - MBYesText

    I added following line in Application_Launching:

    InputLocalizationManager.Instance.ResourceManager = TelerikControlsLocalizedResources.ResourceManager;

    But the message text (and title) is not localized!

    As Workaround I have set the properties explicit in code behind:

    var diag = new RadDiagnostics();
    diag.EmailTo = "mg@hsig.ch";
    diag.MessageBoxInfo = new MessageBoxInfoModel()
        Title = TelerikControlsLocalizedResources.Diagnostic_MessageBox_Title,
        Content = TelerikControlsLocalizedResources.Diagnostic_MessageBox_Content,
        Buttons = MessageBoxButtons.YesNo

    But the buttontext (yes/no) still aren't translated!

    With other controls (e.g. DatePicker) works fine!

    I use this assembly:

    Assembly Telerik.Windows.Controls.Primitives.dll, v2013.3.1127.3040

    Thanks for a fix!

    Best regards


  2. Answer
    Todor avatar
    773 posts

    Posted 17 Jan 2014 Link to this post

    Hello Michael,

    Thank you for writing.

    The documentation contains a sample with the InputLocalizationManager, but it is used only by controls which reside in the assembly Telerik.Windows.Control.Input (like RadDatePicker). For controls which reside in the assembly Telerik.Windows.Controls.Primitives (like RadDiagnostics), you need to use the PrimitivesLocalizationManager.

    Let us know if you need further assistance.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
Back to Top