AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Not a word about RouteDataRequestCultureProvider!

Open alvipeo opened this issue 1 year ago • 1 comments

Description

There is no word about RouteDataRequestCultureProvider, nor an example. Please provide a full documentation and example on a scenario when pages without {lang?} route (/Index) are served using the default culture set in page model, and pages with {lang?} set (like /ru/Index) use the culture provided in the URL.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-8.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/localization.md

Document ID

ad989395-3f49-4d55-521e-cf6fe56281ee

Article author

@Rick-Anderson


Associated WorkItem - 199065

alvipeo avatar Jan 11 '24 14:01 alvipeo

I'll be adding a link to https://andrewlock.net/applying-the-routedatarequest-cultureprovider-globally-with-middleware-as-filters/

Rick-Anderson avatar Jan 11 '24 19:01 Rick-Anderson