In this article, we are going to learn how to implement JSON Based Localization in ASP.NET Core and club it with Caching to make it even more efficient. Let's use JSON files to store the localized strings and implement middleware to switch languages via language keys in the request header. It will be as simple as adding 3 new classes and a couple of service registrations.
Read the article - https://codewithmukesh.com/blog/json-based-localization-in-aspnet-core/