Home

Awesome

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