Tag Archives: Localization

ASP.NET Core using SQL Localization

This article shows how to use SQL localization in ASP.NET Core using an SQL database. The SQL localization in the demo uses Entity Framework Core to access a SQLite database. This can be configured to use any EF core provider. Code: https://github.com/damienbod/AspNetCoreLocalization Library: https://github.com/damienbod/AspNetCoreLocalization/tree/master/src/Localization.SqlLocalizer NuGet package: https://www.nuget.org/packages/Localization.SqlLocalizer/ Documentation: http://localizationsqllocalizer.readthedocs.io/en/latest/ Posts in this series ASP.NET Core […]

ASP.NET Core MVC Localization

This article shows some of the ways in which localization can be used in an ASP.NET Core MVC application. Code: https://github.com/damienbod/AspNetCoreLocalization/ Posts in this series ASP.NET Core MVC Localization Using DataAnnotations and Localization in ASP.NET Core MVC ASP.NET Core using SQL Localization 2018-12-05: Updated to ASP.NET Core 2.2 and EF Core 2.2 2017-08-19: Updated to […]

Web API Localization

This article shows how to set up a Web API service which can support multiple languages and keep it simple. When localizing an application, it is important that all texts or references to language specific resources are not directly referenced in your business methods or code. Only the source or the presentation layer should convert […]