RazorPages do not respect the RequestCultureProviders from RequestLocalizationOptions
wilsonrivera opened this issue · comments
Wilson Rivera commented
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