Skip to content

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Sep 15, 2025

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 .........................

willis

Welcome to the party pal! - John McClane (Bruce Willis), Die Hard, Β©1988 20th Century Fox


Internal previews

πŸ“„ File πŸ”— Preview link
aspnetcore/blazor/globalization-localization.md aspnetcore/blazor/globalization-localization
aspnetcore/release-notes/aspnetcore-10.0.md aspnetcore/release-notes/aspnetcore-10.0

@guardrex guardrex self-assigned this Sep 15, 2025
@guardrex guardrex requested a review from Copilot September 15, 2025 12:24
Copy link
Contributor

@Copilot Copilot AI left a 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

@guardrex guardrex requested a review from ilonatommy September 15, 2025 12:28
@guardrex guardrex requested a review from ilonatommy September 22, 2025 10:53
@guardrex
Copy link
Collaborator Author

guardrex commented Sep 22, 2025

... 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 applicationUICulture.

@ilonatommy
Copy link
Member

applicationCulture

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.

@guardrex guardrex merged commit a3822ac into main Sep 22, 2025
3 checks passed
@guardrex guardrex deleted the guardrex/blazor-ui-culture branch September 22, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RC1] Blazor WASM respects the current UI culture
2 participants