Skip to content

When prerendering, emit culture name and use it on WebAssembly side #26941

@SteveSandersonMS

Description

@SteveSandersonMS

Inspired by #26890

If you’re prerendering a WebAssembly app, you’d never want the prerendered output to be in a different culture than the interactive version uses when it starts.

So when we emit the markers saying which components were prerendered, why not also include info about the culture that was used, and take it as the default on the client?

Then developers only have to be concerned about getting the server culture right to match user preference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Technical DebtPriority:1Work that is critical for the release, but we could probably ship withoutaffected-mostThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-boot-upfeature-localizationfeature-prerenderingIssues related to prerendering blazor componentsseverity-minorThis label is used by an internal tool

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions