-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 9 iOS / HybridGlobalization: currency symbols / currency names not available #108958
Comments
Tagging subscribers to this area: @dotnet/area-system-globalization |
Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger |
cc @matouskozak |
@tipa what culture is your application using? I see the correct output after setting the culture to |
@matouskozak I see these results:
Is this the expected behaviour? |
I think |
I don't (want to) set the current culture myself - and I don't know the users culture (region). My use-case was to show a default currency symbol in my app, that the user could edit. Previously (.NET 8, even with |
I think it is not expected change, and we should investigate. |
Description
With .NET 9, the current currency symbol / currency code are not available any more / replaced by the generic currency symbol
Reproduction Steps
dotnet new ios
Expected behavior
Actual behavior
Regression?
Yes, it worked in .NET 8, even with
HybridGlobalization=true
Known Workarounds
I can just use the iOS methods
NSLocale.CurrentLocale.CurrencySymbol
orNSLocale.CurrentLocale.CurrencyCode
Configuration
.NET 9 RC2
iPhone SE 2 (system language German)
Other information
No response
The text was updated successfully, but these errors were encountered: