Culture setting in Windows 7

2 posts, 0 answers
  1. Dodd
    Dodd avatar
    44 posts
    Member since:
    Dec 2012

    Posted 11 Aug Link to this post

    Hi, I'm testing my application with v4.0.30319 dlls on Windows 7.

    With my application's language set to en-US, the initial main window is created well with English strings.

    However, dynamically created controls are all created with Korean strings, which I assume follow my machine's culture setting. I checked the CurrentUICulture value while debugging, and after the first initialization, CurrentUICulture is somehow reset to ko-KR.

    This does not happen with the previous Telerik dlls (2015 Q2) on Windows 7, or with v4.0.30319 dlls on Windows 10.

    So I'm guessing v4.0.30319 dlls somehow reset the culture setting after the first initialization, only on Windows 7.

    How can I fix this?

  2. Dinko
    Admin
    Dinko avatar
    204 posts

    Posted 16 Aug Link to this post

    Hi Dodd,

    We weren't able to reproduce the described behavior in your post. Basically, the provided v4.0.30319 version number is the version of your application not the version of our controls. For example, the latest version of our controls should look like this 2016.2.613.40 which means : 2016 R2 13th of June. - [year].[release number].[month|day].[.NET Version]. Based on the information above you can tell us which version of our controls you are you using in your application.

    A suggestion, this is shot in the dark, but you can try setting the Culture settings before the InitializeComponent() in the constructor of the MainWindow. 
    public MainWindow()
    {
        Thread.CurrentThread.CurrentCulture = new CultureInfo("en");
        Thread.CurrentThread.CurrentUICulture = new CultureInfo("en");
        InitializeComponent();
    }

    Also, you can create a sample project from your application so we can further test it on our side. You can give us any additional information which you think could help us to reproduce this behavior on our side.

    Regards,
    Dinko
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top