Skip to content

Commit b42c993

Browse files
committed
Decided that CurrentUICulture is probably a better fit for our needs than InstalledUICulture
1 parent 122cd11 commit b42c993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DesktopAnalytics/Analytics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public Analytics(string apiSecret, UserInfo userInfo, Dictionary<string,
231231
SetApplicationProperty("64bit App", Environment.Is64BitProcess.ToString());
232232
// This (and "64bit OS" above) really belong in Context, but segment.io doesn't seem
233233
// to convey context to Mixpanel in a reliable/predictable form.
234-
var ci = CultureInfo.InstalledUICulture;
234+
var ci = CultureInfo.CurrentUICulture;
235235
const string invariantCulture = "iv";
236236
var installedUICulture = !IsNullOrEmpty(ci.TwoLetterISOLanguageName) &&
237237
ci.TwoLetterISOLanguageName != invariantCulture

0 commit comments

Comments
 (0)