Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@RickStrahl RickStrahl released this 25 Jan 10:17
· 52 commits to master since this release
  • .NET Core and ASP.NET Core Support
    Westwind.Globalization now works on .NET Core and ASP.NET Core. We now provide full framework and .NET Standard 2.0 assemblies for the core package and separate ASP.NET and ASP.NET Core Web packages. .NET Core support includes standard ILocalizer support, IOptions configuration support as well as full compatibility with v2.0 dbRes and strongly typed resource syntax.

  • Updated Localization Admin UI for ASP.NET Core
    The Localization Admin application has been updated to work with a ASP.NET Core MVC controller on the backend. The ASP.NET 4.5+ continues to use [CallbackHandler] for compactness and doesn't have a dependency on MVC or WebAPI. The .NET Core version has a number of small UI updates.

  • DbResInstance Class
    Previous versions only had a static DbRes class to access content directly off the resource manager/provider. There's now an instance class that has an associated configuration that is more easily testable and supports multiple configurations. It's also a better fit for ASP.NET Core and the dynamic configuration which allows for injection of DbResInstance classes.

  • dbRes.TDefault() to get resource with Default fallback
    New method that allows passing of a default string if a resources ID can't be found.

  • Easier saving of Resources without explicit save operations
    Make Admin form resource entry easier by not requiring explicit saving of resources. Just tabbing across fields saves values now.

  • Add DeepL Translation Service
    Added the DeepL Translation service to the translation helpers.

  • DataProvider Configuration Switch
    You can now set the database provider used as part of configuration using the DataProvider configuration option. Specify SqlServer, SqLite, MySql or SqlCompact (full framework only) as part of configuration. This setting can now be set via configuration switch rather than requiring explicitly setting the DbResourceManagerType property in code. The new setting simply delegates to DbResourceManagerType so you can still set that manually to change providers as well.

  • Fix: Bing Translation
    Fixed Bing Translation for new Azure Translation APIs and using new logon mechanism. You'll need a new key when updating.