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

Commit 20672f8

Browse files
Adding CurrentCulture as CurrentLang
1 parent f8b11a0 commit 20672f8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/GitHub.Exports/Models/UsageModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class DimensionsModel
2727
public string AppVersion { get; set; }
2828
public string VSVersion { get; set; }
2929
public string Lang { get; set; }
30+
public string CurrentLang { get; set; }
3031
public bool IsGitHubUser { get; set; }
3132
public bool IsEnterpriseUser { get; set; }
3233
}

src/GitHub.VisualStudio/Services/UsageTracker.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ async Task<UsageModel> GetCurrentReport(UsageData data)
133133
}
134134

135135
current.Dimensions.Lang = CultureInfo.InstalledUICulture.IetfLanguageTag;
136+
current.Dimensions.CurrentLang = CultureInfo.CurrentCulture.IetfLanguageTag;
136137
current.Dimensions.AppVersion = AssemblyVersionInformation.Version;
137138
current.Dimensions.VSVersion = vsservices.VSVersion;
138139

0 commit comments

Comments
 (0)