Skip to content

Conversation

@tombogle
Copy link
Contributor

@tombogle tombogle commented Dec 15, 2025

…ce Lang" metric


This change is Reviewable

@jasonleenaylor
Copy link
Collaborator

src/DesktopAnalytics/Analytics.cs line 234 at r1 (raw file):

			// This (and "64bit OS" above) really belong in Context, but segment.io doesn't seem
			// to convey context to Mixpanel in a reliable/predictable form.
			var ci = CultureInfo.InstalledUICulture;

Are you sure this is the right info? I would have expected CurrentCulture to be what we want.

@tombogle
Copy link
Contributor Author

tombogle commented Jan 6, 2026

src/DesktopAnalytics/Analytics.cs line 234 at r1 (raw file):

Previously, jasonleenaylor (Jason Naylor) wrote…

Are you sure this is the right info? I would have expected CurrentCulture to be what we want.

Pretty sure. CurrentCulture is app/thread-specific, so that can change whenever the user changes the current UI in the application. I'm adding this new property to support the request for the device language. I think our intention is to try to note the (likely) preferred locale of the user, based on the OS installation, regardless of the actual UI they might have chosen for the app. This potentially shows where we might have a hole in our UI language offerings. For example, if their OS is in German but we don't offer a German UI (or it is incredibly deficient), they might be using English against their will. More generally, noting the top device languages gives us a vague feel for the linguistic preferences of our user community, and over time, we might note trends in those preferences.

Copy link
Collaborator

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@jasonleenaylor reviewed 3 files and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @hatton).

@tombogle tombogle merged commit 9630ebd into master Jan 9, 2026
3 checks passed
@tombogle tombogle deleted the add-device-ui-language branch January 9, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants