Localization in Blazor Server - How To Change Languages and Cultures

IAmTimCorey
IAmTimCorey
36.6 هزار بار بازدید - 4 سال پیش - Blazor Server is an excellent
Blazor Server is an excellent choice for a web application. But unless your audience only speaks one language, you probably need to consider localization. Localization is the ability to present an application in the culture of the user. This is more than just about translating text. Different cultures have different currencies, different ways of representing numbers, different date formats, and more. In this video, we are going to apply localization to a Blazor Server app in a way that will present the user with the site in their culture, but also give them the option of changing the culture of the site.

Source Code: https://leadmagnets.app/?Resource=Bla...

Mailing List: https://signup.iamtimcorey.com
Purchase Courses: https://iamtimcorey.com

0:00 - Intro
1:36 - Creating Blazor Server App
3:05 - Localization in Blazor explained
9:28 - NuGet reference
10:00 - Project configuration: startup and appsettings
28:24 - Adding MVC controller: Cookies and LocaRedirect
35:10 - Adding Razor Component: code behind culture change
46:06 - Adding Razor Component: building dropdown menu
55:07 - Cookie information
58:04 - Resource files: App.resx
1:15:22 - Summary and concluding remarks

Chapter breakdown was user contributed!
4 سال پیش در تاریخ 1399/08/05 منتشر شده است.
36,683 بـار بازدید شده
... بیشتر