Merge pull request #112317 from timothyqiu/editor-auto-lang

Make editor language setting default to Auto
This commit is contained in:
Thaddeus Crews
2025-11-04 16:32:43 -06:00
8 changed files with 79 additions and 32 deletions

View File

@ -41,7 +41,7 @@ namespace GodotTools.Build
startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"]
= ((string)editorSettings.GetSetting("interface/editor/editor_language")).Replace('_', '-');
= ((string)EditorInterface.Singleton.GetEditorLanguage()).Replace('_', '-');
if (OperatingSystem.IsWindows())
{
@ -111,7 +111,7 @@ namespace GodotTools.Build
startInfo.RedirectStandardError = true;
startInfo.UseShellExecute = false;
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"]
= ((string)editorSettings.GetSetting("interface/editor/editor_language")).Replace('_', '-');
= ((string)EditorInterface.Singleton.GetEditorLanguage()).Replace('_', '-');
if (OperatingSystem.IsWindows())
{