Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8abd2dd

Browse files
committed
Record the VS culture instead of the OS culture
We're interested in what Visual Studio language pack is being used not what OS language is installed. Record CurrentUICulture instead of InstalledUICulture.
1 parent 358f515 commit 8abd2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.VisualStudio/Services/UsageTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async Task<UsageModel> GetCurrentReport(UsageData data)
131131
data.Reports.Add(current);
132132
}
133133

134-
current.Dimensions.Lang = CultureInfo.InstalledUICulture.IetfLanguageTag;
134+
current.Dimensions.Lang = CultureInfo.CurrentUICulture.IetfLanguageTag;
135135
current.Dimensions.CurrentLang = CultureInfo.CurrentCulture.IetfLanguageTag;
136136
current.Dimensions.AppVersion = AssemblyVersionInformation.Version;
137137
current.Dimensions.VSVersion = vsservices.VSVersion;

0 commit comments

Comments
 (0)