Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

UPDATE Nov. 2020 :

Do you want even more exciting localization experience? If yes, please check XLocalizer, a localization nuget with online translation support and auto resource creating.

ExpressLocalization Sample - Asp.Net Core 2.2

Fully localized project, based on the basic Asp.Net Core 2.2 template from Visual Studio, localized using LazZiya.ExpressLocalization.

DotNetCore version

This project is based on dotnetcore2.2, a newer project based on dotnetcore3.0 is available here: ExpressLocalization Sample for DotNetCore3.0

Features :

  • Custom (route value) RequestCultureProvider
  • Custom IHtmlStringLocalizer
  • Custom LocalizeTagHelper
  • Validating localized input fields e.g. (12,34 and 12.34)
  • Localization of:
    • Razor Views (All views locailzed with LocalizeTagHelper)
    • DataAnnotations
    • Model binding and model validation error messages
    • IdentityErrorDescriber messages
    • Client side validation error messages

Available Cultures

some cultures needs fixing/adding few translations

  • Arabic
  • Chinese
  • Czech
  • Dutch
  • English
  • French (thanks to @werddomain for fixing)
  • German
  • Hindi
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Persian
  • Polish
  • Portuguese
  • Portuguese Brazil (thanks to @ismaelgasparin for adding)
  • Russian (thanks to @InfDev for fixing)
  • Spanish
  • Swedish
  • Turkish
  • Ukrainian (thanks to @InfDev for adding)
  • Vietnamese

Project site:

http://ziyad.info/en/articles/33-Express_Localization

Step by step tutorial to build similar project

http://ziyad.info/en/articles/36-Develop_Multi_Cultural_Web_Application_Using_ExpressLocalization

TagHelpers

Some parts of this project is using LazZiya.TagHelpers like:

  • LanguageNav dropdown
  • Client side validation scripts
  • AlertTagHelper for bootstrap 4 alerts
  • Localization of razor views done with LocalizeTagHelper.

Contributers

Contributer Role
@LazZiya Owner
@ismaelgasparin Portuguese language

License:

MIT

About

Sample localization project based on original template from Asp.NetCore 2.2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages