Geaux.Localization
2.0.0
dotnet add package Geaux.Localization --version 2.0.0
NuGet\Install-Package Geaux.Localization -Version 2.0.0
<PackageReference Include="Geaux.Localization" Version="2.0.0" />
<PackageVersion Include="Geaux.Localization" Version="2.0.0" />
<PackageReference Include="Geaux.Localization" />
paket add Geaux.Localization --version 2.0.0
#r "nuget: Geaux.Localization, 2.0.0"
#:package Geaux.Localization@2.0.0
#addin nuget:?package=Geaux.Localization&version=2.0.0
#tool nuget:?package=Geaux.Localization&version=2.0.0
Geaux.Localization
Tenant-aware, culture-aware, database-backed localization for .NET 8+ and .NET 9.
Geaux.Localization provides a complete end-to-end localization system for multi-tenant and multi-culture applications. It integrates with Entity Framework Core and ASP.NET Core to deliver database-backed translations that respect the current tenant and culture for every request.
Features
- Database-backed IStringLocalizer with tenant + culture scoping
- Attribute-based localization via [Localized]
- EF Core SaveChanges interceptor for automatic translation upserts
- Culture fallback + tenant/global precedence
- Seeder utilities for keys, values, and cultures
- Multi-provider support (SQL Server, PostgreSQL, MySQL/MariaDB, Sqlite)
- Export/import tooling (CSV/JSON/ZIP)
Installation
dotnet add package Geaux.Localization
Quick Start
builder.Services.AddGeauxLocalization(builder.Configuration);
Add to appsettings.json:
{
"Localization": {
"DefaultCulture": "en-US",
"SupportedCultures": [ "en-US", "fr-FR" ],
"EnableCultureFallback": true,
"ConnectionStringName": "LocalizationDb",
"Provider": "SqlServer"
}
}
License
MIT © Brent Lee Rigsby / GeauxCajunIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- CsvHelper (>= 33.1.0)
- Geaux.GuardClauses (>= 1.2.0)
- Geaux.Shared (>= 1.0.0)
- Geaux.SharedKernal (>= 1.2.0)
- Microsoft.EntityFrameworkCore (>= 9.0.11)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.11)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.11)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.11)
- Microsoft.Extensions.Configuration (>= 9.0.11)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.11)
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Hosting (>= 9.0.11)
- Microsoft.Extensions.Localization (>= 9.0.11)
- Microsoft.Extensions.Localization.Abstractions (>= 9.0.11)
- Microsoft.Extensions.Options (>= 9.0.11)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.11)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Pomelo.EntityFrameworkCore.MySql (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Geaux.Localization:
| Package | Downloads |
|---|---|
|
Geaux.Localization.Admin
Geaux.Localization.Admin provides a plug‑and‑play Razor Class Library admin dashboard for managing localization keys, cultures, translations, and language packs. Includes CSV/JSON/ZIP export and import tooling, missing‑value repair, and multi‑tenant support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
- Added culture fallback improvements
- Improved admin UI export/import
- Fixed missing key seeding for new cultures
- Normalized storage: LocalizationKeys + LocalizationValues
- Tenant/global precedence and culture fallback improvements
- Updated tests and sample