How to add Localization to Blazor and Automatically Match Browser Language

preview_player
Показать описание
In this video we take a look at how to add localization to blazor with .net localizer to automatically match the browser's language.

Coding books I recommend:

My Setup:
Рекомендации по теме
Комментарии
Автор

Hi, thanks for the tutorial. My app can read from the default resx file but it doesn't change the language when I change the browser language. Am I doing anything wrong?
Thanks

golosbezdoka
Автор

Clean, short, right to the point. Thanks a lot for sharing!

mccdan
Автор

Wow! everything in a single github commit was a cool idea :) thank you!

golosbezdoka
Автор

man finally some decent and simple explanation, thx! <3

michalbasar
Автор

how do you add a button (En/ESP) in all pages of the app to switch between the two?

aa-xnhc
Автор

Hi, thank you for sharing this coding example. I'm trying to adapt it to my project. Q. How can I test it in a different language, specifically Spanish? (You are referring to that, but not showing how.) I already changed the language on the browser to Spanish, but it is only showing the value of the variable in the default language (English). It's actually taking the value from the variable, because I added it to a page, and it's working, but not in a different language. Please advise. Thank you a lot.

rigos
Автор

Unfortunately it doesn't change while running.

tonykoch
Автор

this does not work, and you don't respond to comments. So pretty much useless

Ahmed-uiwn
join shbcf.ru