Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Always returns English irrespective of Accept-Language header #192

Open
nmg196 opened this issue Mar 26, 2020 · 1 comment
Open

Always returns English irrespective of Accept-Language header #192

nmg196 opened this issue Mar 26, 2020 · 1 comment

Comments

@nmg196
Copy link

nmg196 commented Mar 26, 2020

Hi,
I've just ported a .NET Framework project to Core 3.1 and everything seems OK except that WW Globalization is alreadys returning the English resources.

Do I have to add some code or configuration to make it honour the Accept-Langage header?

Thanks

@Juloop
Copy link

Juloop commented Apr 8, 2020

Did you try to use the QueryStringRequestCultureProvider like that: http://localhost:5000/?culture=es-MX&ui-culture=es-MX?

That might help you understand where the problem is.

For example, I had a cookie (prevailing on header but not query string) I didn't know it was here but I realised because the url actually worked.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants