LocalizationProvider.AdminUI.AspNetCore 8.2.6

dotnet add package LocalizationProvider.AdminUI.AspNetCore --version 8.2.6
                    
NuGet\Install-Package LocalizationProvider.AdminUI.AspNetCore -Version 8.2.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LocalizationProvider.AdminUI.AspNetCore" Version="8.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalizationProvider.AdminUI.AspNetCore" Version="8.2.6" />
                    
Directory.Packages.props
<PackageReference Include="LocalizationProvider.AdminUI.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LocalizationProvider.AdminUI.AspNetCore --version 8.2.6
                    
#r "nuget: LocalizationProvider.AdminUI.AspNetCore, 8.2.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LocalizationProvider.AdminUI.AspNetCore@8.2.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LocalizationProvider.AdminUI.AspNetCore&version=8.2.6
                    
Install as a Cake Addin
#tool nuget:?package=LocalizationProvider.AdminUI.AspNetCore&version=8.2.6
                    
Install as a Cake Tool

Quality Gate Status

Supporting LocalizationProvider

If you find this library useful, cup of coffee would be awesome! You can support further development of the library via Paypal.

Localization Provider v8.0 IS OUT!

I'm pleased to announce that Localization Provider v8.0 is finally out. Again - took a bit longer than expected 😃

What's new?

  • .NET8 set as default target
  • Added provider model for translations - starting with Azure AI for automatic translations
  • ConfigurationContext now supports config configuration as well (you can change some settings after you have added and configured default settings for localization provider). This is very useful in unit test scenarios when you need to adjust some settings for specific test.
  • Various bug fixes
  • Some performance improvements (resource key comparison, pagination in Admin UI)
  • Security improvements (by default upgrading insecure connections)
  • Dependencies upgrade

More info in this blog post.

What is the LocalizationProvider project?

LocalizationProvider project is ASP.NET Mvc web application localization provider on steroids.

Giving you the main following features:

  • Database-driven localization provider for Asp.Net Mvc applications projects
  • Easy resource registrations via code
  • Supports hierarchical resource organization (with help of child classes)
  • Administration UI for editors to change or add new translations for required languages

Getting Started (.NET)

Bare Minimum to Start With

Below are code fragments that are essential to get started with a localization provider.

Install required packages:

> dotnet add package LocalizationProvider.AspNetCore
> dotnet add package LocalizationProvider.AdminUI.AspNetCore
> dotnet add package LocalizationProvider.Storage.SqlServer

Following service configuration (usually in Startup.cs) is required to get the localization provider working:

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // add your authorization provider (asp.net identity, identity server, whichever..)

        services
            .AddControllersWithViews()
            .AddMvcLocalization();

        services.AddRazorPages();
        services.AddRouting();

        services.AddDbLocalizationProvider(_ =>
        {
            _.UseSqlServer(Configuration.GetConnectionString("DefaultConnection"));
            ...
        });

        services.AddDbLocalizationProviderAdminUI(_ =>
        {
            ...
        });
    }

    ...
}

And following setup of the application is required as a minimum (also usually located in Startup.cs):

public class Startup
{
    ...

    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        app.UseRouting();
        app.UseAuthentication();
        app.UseAuthorization();

        app.UseDbLocalizationProvider();
        app.UseDbLocalizationProviderAdminUI();
        app.UseDbLocalizationClientsideProvider(); //assuming that you like also Javascript

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
            endpoints.MapRazorPages();
            endpoints.MapDbLocalizationAdminUI();
            endpoints.MapDbLocalizationClientsideProvider();
        });
    }
}

Also, you can refer to sample app in GitHub for some more hints if needed.

More Detailed Help

Getting Started - Optimizely CMS/Commerce

Supported DbLocalizationProvider Storage Providers

Working with DbLocalizationProvider Stuff

Integrating with Optimizely

  • For more information about Optimizely integration - read here

Other Versions

Localization Provider v7.x Released

Please read more in this blog post!

More Info

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LocalizationProvider.AdminUI.AspNetCore:

Package Downloads
LocalizationProvider.AdminUI.AspNetCore.Csv

Database driven localization provider. Csv import/export package for Admin UI for Asp.Net Core apps.

LocalizationProvider.AdminUI.AspNetCore.Xliff

Database driven localization provider. Xliff import/export package for Admin UI for Asp.Net Core apps.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.2.6 7,902 8/1/2025
8.2.5 4,122 7/4/2025
8.2.4 56,744 12/28/2024
8.2.3 17,598 11/27/2024
8.2.2 4,090 11/15/2024
8.2.0 16,663 9/23/2024
8.1.5 19,142 8/27/2024
8.1.4 8,287 8/15/2024
8.1.3 3,836 8/13/2024
8.1.2 1,549 8/7/2024
8.1.1 586 8/4/2024
8.1.0 10,155 6/5/2024
8.0.3 13,866 5/5/2024
8.0.2 10,390 3/28/2024
8.0.1 5,075 3/5/2024
8.0.0 6,178 2/17/2024
7.5.2 73,202 12/23/2023
7.5.1 120,321 1/1/2023
7.5.0 20,549 11/12/2022
7.4.0 9,149 9/29/2022
7.3.1 19,212 8/30/2022
7.3.0 13,079 6/9/2022
7.2.1 5,389 3/17/2022
7.2.0 15,151 3/3/2022
7.1.0 1,639 2/10/2022
7.0.0 20,359 1/23/2022
7.0.0-pre-0015 667 1/19/2022
7.0.0-pre-0014 643 1/16/2022
7.0.0-pre-0013 881 12/27/2021
7.0.0-pre-0012 764 11/30/2021
7.0.0-pre-0011 2,051 11/26/2021
7.0.0-pre-0010 5,862 11/24/2021
7.0.0-pre-0009 5,781 11/24/2021
7.0.0-pre-0008 4,947 11/24/2021
7.0.0-pre-0007 6,764 11/23/2021
7.0.0-pre-0006 1,681 10/31/2021
7.0.0-pre-0005 1,296 10/17/2021
7.0.0-pre-0004 834 10/4/2021
7.0.0-pre-0003 932 9/12/2021
7.0.0-pre-0002 887 8/30/2021
7.0.0-pre-0001 754 7/25/2021
6.5.0 3,984 5/7/2021
6.4.0 1,740 12/22/2020
6.3.0 1,418 10/27/2020
6.2.2 4,485 9/9/2020
6.2.1 895 9/9/2020
6.2.0 1,811 7/9/2020
6.1.1 1,064 6/19/2020
6.1.0 922 6/9/2020
6.0.3 1,485 3/18/2020
6.0.2 914 3/17/2020
6.0.1 968 3/16/2020
6.0.0 1,021 2/21/2020
5.7.1 3,875 7/14/2019
5.7.0 1,143 6/30/2019
5.6.0 1,598 5/7/2019
5.5.1 1,751 4/19/2019
5.5.0 1,168 4/8/2019
5.4.0 1,227 2/28/2019
5.3.0 1,450 2/10/2019
5.1.0 1,442 1/13/2019
5.0.0 2,555 10/18/2018
4.2.2 3,069 4/28/2018