百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

LocalizationProvider

> 编程语言
开源

数据库驱动的.NET应用程序本地化提供者

180 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

数据库驱动的.NET应用程序本地化提供者

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 v9.0 - What's Up?

Version 9.0 modernizes the platform to .NET 10 and focuses on Admin UI productivity - most notably automatic machine translations (including translating many resources in one batch), per-resource notes for translators, and a round of performance work across resource synchronization and caching.

Tracking issue: https://github.com/valdisiljuconoks/LocalizationProvider/issues/345

What's new?

Platform

  • .NET 10 target framework (Optimizely/Episerver integration updated to CMS 13)
  • Nullable reference types enabled across the abstractions and core libraries
  • Admin UI host integration rebuilt on Razor Pages with minimal-API service endpoints

Translations & Admin UI

  • Automatic translations through a pluggable translator-provider model - ships with Azure AI / Cognitive Services. Translate a single resource straight from the edit dialog with one click.
  • Batch translations (#373) - select multiple resources, pick the source and target language, optionally limit to only the empty translations, and review every proposed translation in a read-only preview before anything is saved to the database.
  • Per-resource notes (#148) - attach a translator-facing comment/hint to a resource key for extra context. Declare them in code with the [Notes] attribute or edit them inline in the Admin UI (shown in the resource list and in the translation edit dialog), and they round-trip through CSV import/export.
  • Bulk delete (#317) - select and remove multiple resources at once.
  • Polished Admin UI dialogs - styled, in-app confirmation dialogs replacing native browser prompts.

Performance

  • Resource synchronization reworked for large resource sets (SQL Server now syncs via a temp-table + bulk-copy path)
  • Caching refactored - CachedTranslations, targeted cache invalidation (no full flush when filling the cache), and removal of hot-path allocations and ToLower() calls
  • Memoized expression-based resource keys and cached query/command handler chains
  • BenchmarkDotNet hot-path baseline added to guard against regressions

Fixes

  • Case-insensitive language-code lookup (#368)
  • Various bug fixes and dependency upgrades

Localization Provider v8.0!

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:

…

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

…

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

More Detailed Help

  • Getting Started
  • Getting Started with AdminUI
  • Localizing App Content
  • Localizing View Model (with DataAnnotations attributes)
  • Localizing Client-side

Getting Started - Optimizely CMS/Commerce

  • Working with Resources (Optimizely)
  • Optimizely Frontend Localization
  • Optimizely Xml File Migration

Supported DbLocalizationProvider Storage Providers

  • SQL Server
  • PostgreSql
  • MongoDb
  • Azure Tables

Working with DbLocalizationProvider Stuff

  • Localized Resource Types
  • Synchronization Process
  • MSSQL Storage Configuration
  • Working with Resources
  • Working with Languages
  • Translating System.Enum Types
  • Mark Required Fields
  • Foreign Resources
  • Hidden Resources
  • Reference Other Resource
  • Cache Event Notifications
  • XLIFF Support
  • CSV Support
  • Migrations & Refactorings

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

  • Part 1: Resources and Models
  • Part 2: Configuration and Extensions
  • Part 3: Import and Export
  • Part 4: Resource Refactoring and Migrations

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#csharpdotnetdotnet-coreepiserver

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言