-
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
IOS CultureInfo does not contain NativeName #75927
Comments
Tagging subscribers to this area: @dotnet/area-system-globalization Issue DetailsDescriptionInitialising a CurrentInfo object for a given culture and binding to the NativeName is throwing an exception. Same result found uppon deploying on a real device and logging the error. Reproduction Steps
Expected behaviorThe NativeName property should be populated with the respective value. On Android (Device and Emulator) CultureInfo contains the properties as expected: Actual behaviorException is thrown similar to this Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
Tagging subscribers to 'os-ios': @steveisok, @akoeplinger Issue DetailsDescriptionInitialising a CurrentInfo object for a given culture and binding to the NativeName is throwing an exception. Same result found uppon deploying on a real device and logging the error. Reproduction Steps
Expected behaviorThe NativeName property should be populated with the respective value. On Android (Device and Emulator) CultureInfo contains the properties as expected: Actual behaviorException is thrown similar to this Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
CC @steveisok |
This is similar to #70028. |
@mkhamoyan can you test whether hybrid globalization fixes this or not? |
Yes this will work on hybrid globalization mode. |
Description
Initialising a CurrentInfo object for a given culture and binding to the NativeName is throwing an exception.
Upon debugging on the simulator the object doesn't look to have the NativeName and other properties included.
Same result found uppon deploying on a real device and logging the error.
Reproduction Steps
dotnet new maui -n "MyMauiApp"
var info = new CultureInfo("en-GB");
Expected behavior
The NativeName property should be populated with the respective value.
On Android (Device and Emulator) CultureInfo contains the properties as expected:
Actual behavior
Exception is thrown similar to this
'"NativeName"' property not found on '"en-GB"'
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: