-
Notifications
You must be signed in to change notification settings - Fork 25.1k
[RC1] Blazor WASM respects UI culture setting #36105
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates documentation to reflect that Blazor WebAssembly apps in .NET 10 now respect the UI culture setting via DefaultThreadCurrentUICulture
, resolving a limitation that existed in .NET 9 and earlier versions.
- Adds a new feature section to the .NET 10 release notes documenting the UI culture enhancement
- Updates the globalization documentation to version-gate the old limitation with moniker ranges
- Revises NOTE sections to clarify the behavior difference between .NET 9 and .NET 10
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
aspnetcore/release-notes/aspnetcore-10/includes/blazor.md | Adds new section documenting Blazor WASM UI culture support in .NET 10 |
aspnetcore/release-notes/aspnetcore-10.0.md | Updates the modification date to reflect recent changes |
aspnetcore/blazor/globalization-localization.md | Version-gates existing NOTEs and updates content to reflect .NET 10 improvements |
... and I checked the rest of the article. I think everything else is ok ... as long as this ... <script>
Blazor.start({
webAssembly: {
applicationCulture: 'en-US'
}
});
</script> ... doesn't have a new option for something named |
This value is setting globalization only, so current culture. Localization (satellite assemblies / current UI, or however else it can be called) culture is not defined on this level. |
Fixes #35872
This one is a little late ... I should've had this in last week. ππββοΈπ We won't link to a specific section from the What's New section because there isn't one to link to. This was just a NOTE in the article, so we'll version that content for <10.0 and float on.
Since it's a little late .........................
Welcome to the party pal! - John McClane (Bruce Willis), Die Hard, Β©1988 20th Century Fox
Internal previews