From 23ea7a24fa118f5a5f42fcaaa3fee14583ae3ebf Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sat, 30 Nov 2019 20:11:38 +0300 Subject: [PATCH] Fix ASP.NET Core version for Content-Language header (#15928) * Fix ASP.NET Core version for Content-Language header * Update localization.md --- aspnetcore/fundamentals/localization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/localization.md b/aspnetcore/fundamentals/localization.md index 611d53a4b3..3d00362c8e 100644 --- a/aspnetcore/fundamentals/localization.md +++ b/aspnetcore/fundamentals/localization.md @@ -271,7 +271,7 @@ The [Accept-Language header](https://www.w3.org/International/questions/qa-accep 6. Tap the language, then tap **Move Up**. -::: moniker range=">= aspnetcore-3.0" +::: moniker range=">= aspnetcore-3.1" ### The Content-Language HTTP header The [Content-Language](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language) entity header: @@ -281,7 +281,7 @@ The [Content-Language](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers Entity headers are used in both HTTP requests and responses. -In ASP.NET Core 3.0 the `Content-Language` header can be added by setting the property `ApplyCurrentCultureToResponseHeaders`. +The `Content-Language` header can be added by setting the property `ApplyCurrentCultureToResponseHeaders`. Adding the `Content-Language` header: