Skip to content
Sample localization project based on original template from Asp.NetCore 2.2
C# HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ExpressLocalizationSampleProject client side localization libraries are using remote versions. To use … Jul 27, 2019
.gitattributes
.gitignore
ExpressLocalizationSample.sln
LICENSE
README.md

README.md

ExpressLocalizationSample

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

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
  • German
  • Hindi
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Persian
  • Polish
  • Portuguese
  • Portuguese Brazil (by @ismaelgasparin)
  • Russian
  • Spanish
  • Swedish
  • Turkish
  • 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

You can’t perform that action at this time.