Localization is a great way to let your app reach a broader audience and be more inclusive! In this video we will learn how to add localization to your .NET MAUI Blazor app with Microsoft.Extensions.Localization. With the help of the IStringLocalizer and resx files we will see how to add translations for different languages to our app in minutes!
💝 Join this channel to get access to perks:
ru-vid.com/show-GeraldVersluisjoin
Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
🛑 Don't forget to subscribe to my channel for more cool content: ru-vid.com
🐦 Follow me on Twitter: jfversluis
🤝 Join the Discord server: discord.gg/2cAyTGNHBD
🔗 Links
Sample App Repository: github.com/jfversluis/MauiBlazorLocalizationSample
Show Dialogs Video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gTLEIe0SWpI.html
Automatic Localizer: github.com/IEvangelist/resource-translator
⏱ Timestamps
00:00 - Add Localization to .NET MAUI Blazor
00:22 - Why Localization?
01:27 - .NET MAUI Blazor Dialog Sample Explained
02:08 - Install Microsoft.Extensions.Localization
03:53 - Adding Localizable Resources (resx)
04:40 - Pro-Tip: ResxManager!
05:37 - Localization in Razor Files
07:34 - Add Localized Resources resx File
10:29 - Add Localization Through Code
11:37 - Localize Strings with Parameters In It
14:28 - Use AI to Implement All Your Localization
🎥 Video edited with Camtasia (ref): techsmith.z6rjha.net/AJoeD
🙋♂️ Also find my...
Blog: blog.verslu.is
Twitch: twitch.tv/jfversluis
All the rest: jfversluis.dev
#dotnetmaui #localization #blazor #dotnet #resx
21 мар 2022