Skip to content

Portable Tool for an Ideal Windows Setup

re getting SystemDefaultLanguage

Greedeks45a3f2315777
diff --git a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
index 93d20494..dd3c3ca6 100644
--- a/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
+++ b/.Source/GTweak/Utilities/Configuration/SystemDiagnostics.cs
@@ -71,7 +71,7 @@ namespace GTweak.Utilities.Configuration
internal static ConnectionStatus CurrentConnection = ConnectionStatus.Lose;
- internal static string SystemDefaultLanguage => Regex.Replace(CultureInfo.CurrentUICulture.ToString(), @"-.+$", "", RegexOptions.Multiline);
+ internal static string SystemDefaultLanguage => Regex.Replace(CultureInfo.CurrentUICulture.Name, @"-.+$", "", RegexOptions.Multiline);
internal static bool IsNeedUpdate { get; private set; } = false;
internal static string DownloadVersion { get; private set; } = string.Empty;