localizing the "AUTO" in the zoom control

4 posts, 0 answers
  1. Robert
    Robert avatar
    2 posts
    Member since:
    Sep 2013

    Posted 14 Oct 2013 Link to this post

    Hi, I've got localization working per the online documentation 
    http://www.telerik.com/help/wpf/radimageeditor-localization.html

    but still the AUTO in the zoom control is not localized. 

    I must be missing something... what is it?

    Thanks,
    Bob
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 17 Oct 2013 Link to this post

    Hi Bob,

    Thanks for contacting us with this!

    The values of the percent combo box are not localizable, they are actually set in the style for the box. That said, in order to modify the Auto string you should change the respective style. 

    Please refer to the attached project where Implicit Styles are used to change the string in question. The merged resources are from the default Office Black theme and the relevant code is in the Telerik.Windows.Controls.ImageEditor.xaml file marked with a NOTE comment.

    I hope this helps! Let us know should you have any other comments or questions.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Robert
    Robert avatar
    2 posts
    Member since:
    Sep 2013

    Posted 28 Oct 2013 Link to this post

    Hi Petya,

    Thank you for your response and the sample code.  It made it very easy for me, and I have that string being localized now.  However there is one final thing I don't understand:

    It appears that if the content of the RadComboBoxItem is not "Auto", then the functionality for Auto doesn't work.  I can't figure out how to get the behavior of Auto if the Content of the RadComoboBoxItem is not "Auto".

    Appreciate your response,
    Bob
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 30 Oct 2013 Link to this post

    Hi Bob,

    Thank you for getting back to us!

    You are right that changing the particular string breaks the AutoFit functionality. In this regard we decided to make the string localizable. This will be available in the LIB next week as well as in the upcoming in a month service pack.

    Do not hesitate to contact us again if you have any additional feedback.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top