aspnet / Mvc

[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RazorPages do not respect the RequestCultureProviders from RequestLocalizationOptions

wilsonrivera opened this issue · comments

Is this a Bug or Feature request?:

Bug

Steps to reproduce (preferably a link to a GitHub repo with a repro project):

https://github.com/wilsonrivera/localized-razor-pages

Description of the problem:

When you navigate to the endpoint http://localhost:5000/?locale=es it should have accepted the locale "es", but it doesn't work, on the other hand, if you visit http://localhost:5000/?culture=es it does work, it feels like is ignoring the custom RequestCultureProviders I have defined while configuring the options.

Version of Microsoft.AspNetCore.Mvc or Microsoft.AspNetCore.App or Microsoft.AspNetCore.All:

Version 2.2.0-preview3-35497