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

Комментарии • 9

  • @golosbezdoka
    @golosbezdoka 5 месяцев назад +1

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

  • @mccdan666
    @mccdan666 Год назад +2

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

  • @michalbasar
    @michalbasar 9 месяцев назад +1

    man finally some decent and simple explanation, thx!

  • @Paul-dd9ox
    @Paul-dd9ox 25 дней назад

    Thank you!

  • @aa-xn5hc
    @aa-xn5hc Год назад +3

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

  • @rigos1983
    @rigos1983 10 месяцев назад +1

    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.

  • @golosbezdoka
    @golosbezdoka 5 месяцев назад

    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

  • @tonykoch992
    @tonykoch992 2 месяца назад

    Unfortunately it doesn't change while running.

  • @Ahmed-ui5wn
    @Ahmed-ui5wn 2 месяца назад +1

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