开发者

How to remove localization .NET Framework of russian?

开发者 https://www.devze.com 2022-12-26 04:36 出处:网络
I installed Windows 7. Install Visual Studio 2008 with .Net Framework 3.5. Then Russified Windows. And after this error message in Visual Studio suddenly appearing in Russian.

I installed Windows 7. Install Visual Studio 2008 with .Net Framework 3.5. Then Russified Windows. And after this error message in Visual Studio suddenly appearing in Russian. How can I remove a Russian translation for error messages .NET F开发者_如何学运维ramework?


Windows->CTRL PANEL->Region and Language -> Location -> Current Location: change from russian to USA

I'm not sure if this is the issue - but you can try this out...

Other SO answers suggest uninstalling language pack for dot net....


you can try this: VS->Tools->Options->Enviroment->international settings-> then choose appropriate language.


you must set the desired culture of the current thread:

using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace UnlocolizeDotNetFrameworkMessage
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");

            Application.Run(new Form1());
        }
    }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消