Skip to content

Commit a92a74b

Browse files
authored
Revert P4 guidance (#17810)
1 parent dc40606 commit a92a74b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

aspnetcore/blazor/globalization-localization.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to make Razor components accessible to users in multiple
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 04/07/2020
8+
ms.date: 04/14/2020
99
no-loc: [Blazor, SignalR]
1010
uid: blazor/globalization-localization
1111
---
@@ -54,6 +54,10 @@ 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+
5761
Blazor WebAssembly apps set the culture using the user's [language preference](https://developer.mozilla.org/docs/Web/API/NavigatorLanguage/languages).
5862
5963
To explicitly configure the culture, set `CultureInfo.DefaultThreadCurrentCulture` and `CultureInfo.DefaultThreadCurrentUICulture` in `Program.Main`.
@@ -62,6 +66,8 @@ By default, Blazor's linker configuration for Blazor WebAssembly apps strips out
6266
6367
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.
6468
69+
-->
70+
6571
### Blazor Server
6672

6773
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)