LocalizationProvider.Xliff 8.2.3

dotnet add package LocalizationProvider.Xliff --version 8.2.3                
NuGet\Install-Package LocalizationProvider.Xliff -Version 8.2.3                
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.Xliff" Version="8.2.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LocalizationProvider.Xliff --version 8.2.3                
#r "nuget: LocalizationProvider.Xliff, 8.2.3"                
#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.
// Install LocalizationProvider.Xliff as a Cake Addin
#addin nuget:?package=LocalizationProvider.Xliff&version=8.2.3

// Install LocalizationProvider.Xliff as a Cake Tool
#tool nuget:?package=LocalizationProvider.Xliff&version=8.2.3                

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

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LocalizationProvider.Xliff:

Package Downloads
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.3 326 11/27/2024
8.2.2 137 11/15/2024
8.2.1 262 11/3/2024
8.2.0 307 9/23/2024
8.1.6 118 9/2/2024
8.1.5 211 8/27/2024
8.1.4 146 8/15/2024
8.1.3 315 8/13/2024
8.1.2 109 8/7/2024
8.1.1 92 8/4/2024
8.1.0 1,248 6/5/2024
8.0.3 339 5/5/2024
8.0.2 668 3/28/2024
8.0.1 167 3/5/2024
8.0.0 155 2/17/2024
7.5.2 6,223 12/23/2023
7.5.1 5,568 1/1/2023
7.5.0 520 11/12/2022
7.4.0 2,585 9/29/2022
7.3.1 912 8/30/2022
7.3.0 1,152 6/9/2022
7.2.1 1,082 3/17/2022
7.2.0 629 3/3/2022
7.1.0 634 2/10/2022
7.0.0 621 1/23/2022
7.0.0-pre-0015 220 1/19/2022
7.0.0-pre-0014 208 1/16/2022
7.0.0-pre-0013 200 12/27/2021
7.0.0-pre-0012 222 11/30/2021
7.0.0-pre-0011 1,649 11/26/2021
7.0.0-pre-0010 5,404 11/24/2021
7.0.0-pre-0008 4,522 11/24/2021
7.0.0-pre-0007 6,262 11/23/2021
7.0.0-pre-0006 263 10/31/2021
7.0.0-pre-0005 275 10/17/2021
7.0.0-pre-0004 285 10/4/2021
7.0.0-pre-0003 310 9/12/2021
7.0.0-pre-0002 242 8/30/2021
7.0.0-pre-0001 262 7/26/2021
6.5.3 674 5/22/2023
6.5.2 2,496 2/27/2022
6.5.0 8,077 5/7/2021
6.4.0 1,748 12/22/2020
6.3.0 462 10/27/2020
6.2.1 1,032 9/9/2020
6.2.0 667 7/9/2020
6.1.0 532 6/9/2020
6.0.2 565 3/17/2020
6.0.1 663 3/16/2020
6.0.0 644 2/22/2020
5.8.2 10,167 1/29/2020
5.7.7 863 11/23/2019
5.7.5 3,404 9/29/2019
5.7.4 678 9/14/2019
5.7.3 628 8/16/2019
5.7.2 604 8/9/2019
5.7.1 4,579 7/14/2019
5.7.0 628 6/30/2019
5.6.0 869 5/7/2019
5.5.1 753 4/19/2019
5.5.0 623 4/8/2019
5.4.1 675 3/16/2019
5.4.0 1,993 2/28/2019
5.3.0 2,620 2/10/2019
5.1.0 762 1/13/2019
5.0.0 1,341 10/18/2018
4.2.3 1,803 5/18/2018
4.2.2 1,335 4/5/2018
4.2.1 978 4/5/2018
4.2.0 1,014 3/3/2018
4.1.0 1,391 1/23/2018
4.0.0 1,040 12/29/2017
2.11.3 972 12/21/2017
2.11.1 1,101 12/6/2017
2.10.0 1,022 11/26/2017
2.9.0 1,209 10/9/2017
2.8.2 1,049 8/23/2017
2.8.1 1,013 8/19/2017
2.8.0 1,017 8/15/2017