Skip to content

[net6] Thread.CurrentThread.CurrentCulture is invariant and does not follow the device culture #14740

@jeromelaban

Description

@jeromelaban

Steps to Reproduce

  1. Create a single view app
  2. Get the values of Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture

Expected Behavior

The culture info is set to the current device culture, like it is with legacy mono/xamarin.

Actual Behavior

The culture info is set to the invariant culture.

Environment

RC1

Build Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIf an issue is a bug or a pull request a bug fixdotnetAn issue or pull request related to .NET (6)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions