Westwind.Globalization Logo


Database Resource Localization for .NET

  • Store resources in Sql Server, MySql, SqLite, SqlCe
  • Edit resources at runtime using a powerful Resource Editor
  • Import and Export to and from Resx resources
  • Create strongly typed .NET resource classes
  • Use Markdown to provide basic CMS-like user editing features
PM> Install-Package Westwind.Globalization.Web
created by:
West Wind Technologies

Ready to localize?

Localization is tedious in any application, but with the right tools the job is a lot easier. This library and support tools provide easy to use database resource managers and providers that allow you to use a database for storing localization resources. Unlike static Resx resources, database resources are dynamic and can be changed at runtime and are editable by multiple users at the same time. The custom resource managers and providers use standard .NET resource interfaces, so other than startup configuration there are no code changes from using traditional Resx resources.

The library includes a powerful, yet easy to use Web based resource editor that lets you create and manipulate resources interactively, and provides basic translation tools for a simple and efficient editing workflow. All features of the editor are also exposed via code APIs so you can build your own UI or custom tools to generate and manage your resources.

The library also supports two-way Resx import and exports, so you can use your existing resources to get started. When done localizing you can opt to export back to Resx files and run your application using traditional Resx if you prefer that over running with the database providers. You can even import Resx resources from arbitrary libraries, edit them using our resource editor and then export them back out to the original Resx file locations.

Ready to get started?

Here's a 24 minute getting started video of the Westwind.Globalization library, that demonstrates many of the features provided:

Database Resource Provider
Database Resource Manager
Sql Server, MySql, SqLite, SqlCe
Interactive Web Resource Editor
Keyboard optimized resource entry
Translate with Google and Bing
Use Markdown in text resources
Import and export Resx resources
Generate strongly typed resources
Serve resources to JavaScript
Release and reload resources
Create your own DbProvider
Open source - MIT licensed
Get it
Get on NuGet

The easiest way to use this library is to install the NuGet package from Visual Studio:

Install-Package Westwind.Globalization.Web
Please be sure to read the setup instructions in the Web root folder.

Source on GitHub

Source code for this library, along with a few usage examples are available on GitHub. This library is open source and open for modification. On GitHub you can also file issues and pull requests are welcome.

Learn more

The resource provider requires a little bit of setup to configure the database to use, so please take a minute to check out the Getting Started documentation. Or take a look at our documentation:
Getting Started Documentation

The documentation provides additional information on how the provider works and how you can use it in your applications, as well as documentation for the Web resource editor.
General Documentation

Finally you can check out detailed class reference documentation.
Class Reference Documentation