Menu

TinyLocalization: database-backed translations for .NET, without redeploying
πŸ“°

TinyLocalization: database-backed translations for .NET, without redeploying

DEV Community: dotnetΒ·Angelo PirolaΒ·12 days ago
#EE2XgDUb
#devtodotnet#devto#dev#culture#database
Reading 0:00
15s threshold

Every .NET developer has been there. A customer finds a typo in the Italian translation, and fixing it means editing a .resx file, rebuilding, and redeploying the whole application. For one word.

I wanted translations to behave like data, not like code. So I built TinyLocalization , a small open-source library that stores your translations in a database and plugs into the standard Microsoft.Extensions.Localization abstractions.

The repository is here: AngeloDotNet/TinyDatabaseLocalization .

What it does

The idea is deliberately simple: you keep using IStringLocalizer , but the strings come from a database table instead of resource files.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.