Skip to content

Commit 030cede

Browse files
authored
[Preview 4] Activate Blazor localization guidance (#17811)
1 parent 8a61d1d commit 030cede

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

aspnetcore/blazor/globalization-localization.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ The following field types have specific formatting requirements and aren't curre
5454

5555
### Blazor WebAssembly
5656

57-
By default, Blazor's linker configuration for Blazor WebAssembly apps strips out internationalization information except for locales explicitly requested. For more information and guidance on controlling the linker's behavior, see <xref:host-and-deploy/blazor/configure-linker#configure-the-linker-for-internationalization>.
58-
59-
<!-- HOLD FOR 3.2 PREVIEW 4: Replace prior paragraph with ...
60-
6157
Blazor WebAssembly apps set the culture using the user's [language preference](https://developer.mozilla.org/docs/Web/API/NavigatorLanguage/languages).
6258

6359
To explicitly configure the culture, set `CultureInfo.DefaultThreadCurrentCulture` and `CultureInfo.DefaultThreadCurrentUICulture` in `Program.Main`.
@@ -66,8 +62,6 @@ By default, Blazor's linker configuration for Blazor WebAssembly apps strips out
6662

6763
While the culture that Blazor selects by default might be sufficient for most users, consider offering a way for users to specify their preferred locale. For a Blazor WebAssembly sample app with a culture picker, see the [LocSample](https://github.com/pranavkm/LocSample) localization sample app.
6864

69-
-->
70-
7165
### Blazor Server
7266

7367
Blazor Server apps are localized using [Localization Middleware](xref:fundamentals/localization#localization-middleware). The middleware selects the appropriate culture for users requesting resources from the app.

0 commit comments

Comments
 (0)