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
215
How to localize Text in Formula
posted

Hi

We use a Formula on a column that displays some text. How can we localize the Formula or the text?

Example: if ([DSSTA] > '4', 'Inactivated', if(  [SPRCD] = 'X', 'Blocked', ''))

We need to localize the text that is Bold.

Thanks for your help.

Michael

  • 6120
    Offline posted


    Hi Michael,

    I assume you are setting these formulas at design time in a WinCalcManager. The strings that are in Bold can be localized by creating a culture specific resource file for them. You can refer to below link on how to create localized version of a resource file.
    https://msdn.microsoft.com/en-us/library/aa992030(v=vs.100).aspx

    Once you have a culture specific resource file then you can read these values from the resource file and set them to your WinCalcManager at runtime. You can refer to the below link on how to set formulas at runtime.
    http://help.infragistics.com/Help/Doc/WinForms/2012.1/CLR2.0/html/WinCalcManager_Setting_WinCalcManager_Formulas_at_Run_Time.html

    If you have any questions please let me know.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer, Windows Forms
    http://ko.infragistics.com/