Coding Short: Sharing Localization Between Front-end and Back-end

Опубликовано: 16 Октябрь 2024
на канале: Shawn Wildermuth
1,608
103

I'm working with a client on a Vue project front-end and a .NET back-end. We need to share the localization between the projects. This is what I came up with. It's like pair-programming with the entire internet - tell me how I'm wrong:

You can hire me too! You can reach me at my new website:
https://shawn.wildermuth.com

00:00 Introduction
01:41 The Problem
04:21 Include the Locale Files
06:03 Creating the Localizer Class
07:31 Reading the Embedded Resources
09:51 Building the JSON
10:42 Building the Localization Source
11:51 Registering the Singleton
13:30 Wrap-up

If you like this video, you might like other videos in my Instructional Videos:
   • Instructional Videos