You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong result from CultureInfo.CurrentCulture.Name in iOS #110680
[severity:It's more difficult to complete my work] [regression] [worked-in:17.12.0]
Put this in a Maui app:
Debug.WriteLine($"CultureInfo.CurrentCulture.Name: {CultureInfo.CurrentCulture.Name}");
In iOs is the result: en (wrong)
In Android and Windows is the result: en-US (correct)
In .NET 8 was the result correct for iOS.
Visual Studio 17.12.0
.NET 9
Microsoft.Maui.Controls Version 9.0.10
Original Comments
Feedback Bot on 11/18/2024, 11:33 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Activity
dotnet-policy-service commentedon Dec 13, 2024
Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Dec 13, 2024
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
tarekgh commentedon Dec 13, 2024
@matouskozak please have a look.
CC @vitek-karas
matouskozak commentedon Dec 13, 2024
Related to #108958 (comment). We will investigate.
matouskozak commentedon Mar 17, 2025
I just tested the newly released .NET 9.0.3 https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.3/9.0.3.md?WT.mc_id=dotnet-35129-website and the retrieved default
CurrentCulturecontains the region information now.Closing the issue as completed. Please reach out if the issue persists.