Localization in Blazor: Carl Franklin's Blazor Train Ep 90

แชร์
ฝัง

ความคิดเห็น • 19

  • @carlfranklin7894
    @carlfranklin7894 2 ปีที่แล้ว +3

    I have added a new repo for Localization in Blazor Server: github.com/carlfranklin/LocalizationInBlazorServer
    There's a bit of a difference.

  • @saroshwadia
    @saroshwadia 2 ปีที่แล้ว +1

    Too good - so clear and easy to follow and to the point. 🙂

  • @olagisrarikis
    @olagisrarikis ปีที่แล้ว

    This is an awesome tutorial. Thanks!

  • @abrrrakadabrrra
    @abrrrakadabrrra ปีที่แล้ว +1

    How to do it without reloading the page after language change?

  • @draganvelickovski3809
    @draganvelickovski3809 2 วันที่ผ่านมา

    Excellent, can you show us sample with Static Server Rendering?

  • @sokoo1978
    @sokoo1978 ปีที่แล้ว

    Thanks for the great tutorial. My app is fairly big, could you show an example with the resx per page? Or is there no difference just make a resx for all pages?

    • @DeveloperExpress
      @DeveloperExpress  ปีที่แล้ว +1

      You got it! That’s exactly what you do.

    • @sokoo1978
      @sokoo1978 ปีที่แล้ว

      @@DeveloperExpress It works like charm, thanks :)

  • @Duelweb
    @Duelweb 2 ปีที่แล้ว

    Beautiful stuff Carl !!! Just one question : For Blazor server, can we still use the same class - WebAssemblyHostExtensions ??

    • @carlfranklin7894
      @carlfranklin7894 2 ปีที่แล้ว +1

      No there's another way to do it in Blazor Server. I'll update the repo

    • @carlfranklin7894
      @carlfranklin7894 2 ปีที่แล้ว +1

      I have added a new repo for Localization in Blazor Server: github.com/carlfranklin/LocalizationInBlazorServer
      There's a bit of a difference.

    • @Duelweb
      @Duelweb 2 ปีที่แล้ว +1

      @@carlfranklin7894 Many thanks Carl, you're a champ 🏆

  • @PredatorianStyl
    @PredatorianStyl ปีที่แล้ว

    Nice tutorial. Really helped me. Thanks!
    But I can only make this work with global resource files.
    How can I use resource files for different pages? Can I set multiple paths for the options.ResourcesPath in Program.cs somehow?

  • @pradm777
    @pradm777 ปีที่แล้ว

    hey do you have any sample for arabic and English with RTL and LTL changes Application

  • @tamasvicze
    @tamasvicze ปีที่แล้ว

    After adding the CultureSelector to the main layout, it's not visible on the page. I've tried to add a razor.css file under the CultureSelector, and copying the stylesheet from the MainLayout.razor.css fle, but still nothing. Have anybody experinced this?

    • @tamasvicze
      @tamasvicze ปีที่แล้ว

      Found the solution! I had a separate ShopLayout.Razor component in the same directory as the MainLayout, and I am using that one for setting up the layout. In my case I had to add the in the ShopLayour.razor to make it visible. So if you have YourOwnLayout.razor, you have to add the there and not to the MainLayout.razor :)