Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
How do I localize bound Grid Headers?
posted

Hello everyone.

I am trying to localize a project using an UltraGrid. We are using Infragistics 11.2.

Visual Studio usually creates the appropriate entries for the .resx file as soon as you mark the form as "Localizable". This is not the case for the UltraGrid, at least not entierly. If I have a column bound to a datasource and leave the properties unchanged, the header is named after the source's property name and so I cannot localize it anymore. If I add a blank to the headers name, the entry in the .resx files is made and I can do the translation. But I guess this is just a work around.

So here's my question: Is there any other way to localize bound column headers?

 

Regards.

Parents
No Data
Reply
  • 150
    posted

    Exact same issue here.  We use a third party application to translate our resources and create localized resources.  It translates the binaries.  The problem is that if you don't "change" the header caption to something different than the key in the datasource then (as described above) the Header Caption resource is not placed in the resource file to begin with.  Our translator app has nothing to automatically translate.  So... Is there a setting on the grid or someway of "forcing" the wingrid to write the header caption to the resource even if it's the same as the key?  We have over one hundred wingrids in our app and to go in and tweak every column on every grid would take forever.  There has to be a better way.  Has anybody solved this problem?

    Thanks,

    Derek

Children