Skip to content

Commit 6c97ec5

Browse files
authored
docs(common): fix versions in which the _Host and _Layout files are used (#1396)
1 parent 7b832fa commit 6c97ec5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

globalization/localization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The necessary steps are to:
7272
>caption Step 1 - Example for enabling localization in the app
7373
7474
* `Startup.cs` for .NET 3.x and .NET 5
75-
* `Program.cs` for .NET 6
75+
* `Program.cs` for .NET 6 and .NET 7
7676

7777
<div class="skip-repl"></div>
7878
````Startup.cs
@@ -257,8 +257,8 @@ public class CultureController : Controller
257257

258258
>caption Step 2 (continued) - Use a cookie to store the culture choice of the user.
259259
260-
* `~/Pages/_Host.cshtml` for .NET 3.x and .NET 5
261-
* `~/Pages/_Layout.cshtml` for .NET 6
260+
* `~/Pages/_Host.cshtml` for .NET 6 and .NET
261+
* `~/Pages/_Layout.cshtml` for .NET 3.x and .NET 5
262262

263263
<div class="skip-repl"></div>
264264
````_Host.cshtml

0 commit comments

Comments
 (0)