Skip to content

Default number format should be CultureInfo.CurrentCulture, not CurrentUICulture #787

Closed
@pgrawehr

Description

@pgrawehr

The default formatting of numbers (in QuantityFormatter.cs), when no explicit culture is given, should use CultureInfo.CurrentCulture not CultureInfo.CurrentUICulture. On Windows, the first corresponds to the selection from the control panel "Regional Settings" and defines the locale settings of the user. CurrentUICulture represents the language of the UI, which will be english for everyone that uses Windows in english.

In my case, CurrentUICulture is "de-DE", since my Windows is German, but CurrentCulture is "de-CH", since I use the number format for Switzerland (which is quite different).

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changebugpinnedIssues that should not be auto-closed due to inactivity.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions