Language issues in WinForms C1FlexGrid 4.5.2

Posted by: dvmspb937 on 2 July 2021, 3:14 pm EST

    • Post Options:
    • Link

    Posted 2 July 2021, 3:14 pm EST

    I used C1FlexGrid.4 in my Winforms project. Language was set to Russian, and it displayed correctly in column filters. Later, I upgraded my project to .NET 4.5.2 and pointed all C1 controls to their respective 4.5.2 dll’s. License file entries were also updated to 4.5.2. All captions in column filters are now showing in English, even though grid language is still set to Russian. Did I miss something during the upgrade?

  • Posted 5 July 2021, 2:29 am EST

    Hello Dmitry,

    We too can observe the issue with the 4.5.2 version controls and reported this to the developers. We will let you know as soon as we get the update from the developers’ end.

    [Internal Tracking ID: C1WIN-25198]

    Regards,

    Prabhat Sharma.

  • Posted 5 July 2021, 6:49 am EST

    Hello Dmitry,

    This issue will be fixed in the future and for now, as a workaround, you can set “CurrentCulture” and “CurrentUICulture” of application in the Form’s constructor:

     public Form1()
            {
                Thread.CurrentThread.CurrentCulture = new CultureInfo("ru-RU");
                Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU");
    
                InitializeComponent();
            }
    

    Regards,

    Prabhat Sharma.

  • Posted 21 July 2021, 9:29 am EST

    Thank you, Prabhat. The workaround did the trick for me.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels