This is a migrated thread and some comments may be shown as answers.

Localization conditional formatting

10 Answers 87 Views
GridView
This is a migrated thread and some comments may be shown as answers.
FilipN
Top achievements
Rank 1
FilipN asked on 13 Jul 2009, 06:16 AM
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"

10 Answers, 1 is accepted

Sort by
0
Accepted
Nick
Telerik team
answered on 13 Jul 2009, 10:28 AM
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.
0
Itera
Top achievements
Rank 1
answered on 11 Feb 2011, 10:13 AM
Hello, all

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

Best regards,
Andrew Shyliuk
0
Richard Slade
Top achievements
Rank 2
answered on 11 Feb 2011, 11:30 AM
Hello, 

Please look at this link to find all the localization enumerations for RadgridView
Hope that helps
Richard
0
Itera
Top achievements
Rank 1
answered on 11 Feb 2011, 12:00 PM
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
0
Richard Slade
Top achievements
Rank 2
answered on 11 Feb 2011, 12:53 PM
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
0
Itera
Top achievements
Rank 1
answered on 11 Feb 2011, 01:59 PM
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
0
Richard Slade
Top achievements
Rank 2
answered on 11 Feb 2011, 03:04 PM
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
0
Ramius
Top achievements
Rank 1
answered on 11 Feb 2011, 06:42 PM

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

0
Richard Slade
Top achievements
Rank 2
answered on 11 Feb 2011, 06:46 PM
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
0
Ivan Todorov
Telerik team
answered on 17 Feb 2011, 10:32 AM
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.
Tags
GridView
Asked by
FilipN
Top achievements
Rank 1
Answers by
Nick
Telerik team
Itera
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Ramius
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or