How to add Localization to Blazor and Automatically Match Browser Language
HTML-код
- Опубликовано: 7 окт 2024
- In this video we take a look at how to add localization to blazor with .net localizer to automatically match the browser's language.
Github commit github.com/cod...
Twitter: / coding_flamingo
Coding books I recommend:
Clean Code: amzn.to/3i2lyIt
The Art of Unit Testing amzn.to/3czqenS
Refactoring: Improving the Design of Existing Code: amzn.to/3cwVkN3
My Setup:
Shure MV7 XLR/USB Dynamic Podcasting Microphone: amzn.to/38kPmgT
KINESIS Gaming Freestyle Edge RGB Split Mechanical Keyboard amzn.to/3p57fXB
GPU Nvidia GTX 1080 amzn.to/2RZDybA
Mouse amzn.to/2WAPPZy
CPU AMD Ryzen 5600x amzn.to/3DrhU6B
Motherboard MSI MPG B550 GAMING amzn.to/2WvGGSm
Wow! everything in a single github commit was a cool idea :) thank you!
Clean, short, right to the point. Thanks a lot for sharing!
man finally some decent and simple explanation, thx!
Thank you!
how do you add a button (En/ESP) in all pages of the app to switch between the two?
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.
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
Unfortunately it doesn't change while running.
this does not work, and you don't respond to comments. So pretty much useless