LazZiya / XLocalizer

Localizer package for Asp.Net Core web applications, powered by online translation and auto resource creating.
https://docs.ziyad.info
129 stars 14 forks source link
asp-net-core database db globalization localization resource-management resources resx-resources translation xml

XLocalizer for Asp.Net Core

Say bye-bye to manually creating localization resources...!

How it works:

XLocalizer Simplified Workflow

Setup

Install latest preview from nuget :

Install-Package XLocalizer

Add localization settings in startup.cs:


// Add XLocalizer
services.AddRazorPages()
    .AddXLocalizer<LocSource, GoogleTranslateService>(ops =>
    {
        ops.ResourcesPath = "LocalizationResources";
        ops.AutoTranslate = true;
        ops.AutoAddKeys = true;
        ops.TranslateFromCulture = "en";
    });

For more details goto DOCS.Ziyad.info

Step by step tutorial

Sample projects

License

MIT

Sponsors