Localization conditional formatting

11 posts, 1 answers
  1. FilipN
    FilipN avatar
    15 posts
    Member since:
    Jul 2009

    Posted 13 Jul 2009 Link to this post

    Hello telerik team,
    I am currenty testing your platform (RadControls for win forms versino 2009.2.9.701) in order to decide whether to use your controls at our company. I have question regarding localization of datagridview. I am using RadGridLocalizationProvider to provide localized strings and I can't find RadGridStringId enumeration values for following strings:

    conditional formatting > group box "rule aplies on"
    conditional formatting > strings in combo box type > for example is not equal to [Value1]
    conditional formatting > format property list box > for example "RowForeColor"
  2. Answer
    Nick
    Admin
    Nick avatar
    767 posts

    Posted 13 Jul 2009 Link to this post

    Hi Filip Nguyen,

    Thank you for contacting us and your interest in RadControls for WinForms.

    The first two seems hard-coded and we will fix them in our upcoming service pack.

    The property grid that you refer to as list box is used to visualize .net properties and cannot be easily localized. We will check if anything can be done about it though.

    Do not hesitate to write me back if you have further questions.

    Best wishes,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Itera
    Itera avatar
    5 posts
    Member since:
    Jan 2011

    Posted 11 Feb 2011 Link to this post

    Hello, all

    How do I localize Conditional Formating form in the current Telerik version?

    Best regards,
    Andrew Shyliuk
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Feb 2011 Link to this post

    Hello, 

    Please look at this link to find all the localization enumerations for RadgridView
    Hope that helps
    Richard
  6. Itera
    Itera avatar
    5 posts
    Member since:
    Jan 2011

    Posted 11 Feb 2011 Link to this post

    Hello, Richard

    I read documentation. These enumerations for RadgridView not allows to translate all strings on Conditional Formating form.

    How do I translate strings in attached screenshots?

    How do I translate strings about which asked FilipN in the first message of this topic?
    conditional formatting > group box "rule aplies on"
    conditional formatting > strings in combo box type > for example is not equal to [Value1]
    conditional formatting > format property list box > for example "RowForeColor"

    Best regards,
    Andrew Shyliuk
  7. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Feb 2011 Link to this post

    Hello,

    As far as I'm aware, these cannot currently be localized. These appear to be standard Microsoft controls, for exmaple, the Property Grid which as Nick from Telerik explained above cannot be localized at the moment.
    If I can find a way to change therse, I'll let you know
    Richard
  8. Itera
    Itera avatar
    5 posts
    Member since:
    Jan 2011

    Posted 11 Feb 2011 Link to this post

    Hello, Richard

    Which controls are standard Microsoft? I see only Telerik controls...

    What about Nick's message from Jul 13, 2009: "The first two seems hard-coded and we will fix them in our upcoming service pack." Can I get this service pack?

    Best regards,
    Andrew Shyliuk
  9. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Feb 2011 Link to this post

    Hello,

    the below is a VB version extracted from the ConditionalFormattingForm showing the items on the form that are currently localized. There are other items on this form such as the Microsoft Property Grid (the grid under Format in your screenshot) which cannot be localized.
    Private Sub LocalizeForm()
        Me.Text = Me.GetLocalString("ConditionalFormattingCaption")
        Me.label5.Text = Me.GetLocalString("ConditionalFormattingLblColumn")
        Me.label4.Text = Me.GetLocalString("ConditionalFormattingLblName")
        Me.label1.Text = Me.GetLocalString("ConditionalFormattingLblType")
        Me.label2.Text = Me.GetLocalString("ConditionalFormattingLblValue1")
        Me.label3.Text = Me.GetLocalString("ConditionalFormattingLblValue2")
        Me.radGroupBox1.Text = Me.GetLocalString("ConditionalFormattingGrpConditions")
        Me.radGroupBox2.Text = Me.GetLocalString("ConditionalFormattingGrpProperties")
        Me.radCheckBoxApplyToRow.Text = Me.GetLocalString("ConditionalFormattingChkApplyToRow")
        Me.radButtonAdd.Text = Me.GetLocalString("ConditionalFormattingBtnAdd")
        Me.radButtonRemove.Text = Me.GetLocalString("ConditionalFormattingBtnRemove")
        Me.radButtonOK.Text = Me.GetLocalString("ConditionalFormattingBtnOK")
        Me.radButtonCancel.Text = Me.GetLocalString("ConditionalFormattingBtnCancel")
        Me.radButtonApply.Text = Me.GetLocalString("ConditionalFormattingBtnApply")
        Me.groupBox1.Text = Me.GetLocalString("Rule applies on:")
    End Sub

    currently, I don't know of a way to localize these items that you have mentioned.
    regards,
    Richard
  10. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 11 Feb 2011 Link to this post

    Why is it not possible to send the property text value to the localization provider before it is set in the property grid ?

    I am not very happy that these property texts can't be localized. 

    From a users view it is also strange as all texts are localized but some easy to translate texts are not.

    Kind Regards,

    Ramius

  11. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Feb 2011 Link to this post

    Ramius,

    Perhaps this may be in the upcoming 2011 Q1 release. There are major enhancements planned for localization to all RadControls. You can view the roadmap here
    regards,
    Richard
  12. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 17 Feb 2011 Link to this post

    Hi all,

    Like Richard said, there are major localization enhancements planned for 2011 Q1. All strings of the color dialog along with the color names will be fully localizable. About the ConditionalFormatting dialog: all missing StringIds will be added except those in the property grid. The property grid in ConditionalFormatting dialog is a Microsoft control that uses reflection to get the properties of an object and displays their names. It does not have an API which changes these names, so it could be difficult to localize a property grid. We are still researching on this issue and I hope we will find a solution.

    Greetings,
    Ivan Todorov
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Back to Top
UI for WinForms is Visual Studio 2017 Ready