• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

LazZiya/ExpressLocalizationSample: Sample localization project based on original ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

LazZiya/ExpressLocalizationSample

开源软件地址(OpenSource Url):

https://github.com/LazZiya/ExpressLocalizationSample

开源编程语言(OpenSource Language):

C# 69.2%

开源软件介绍(OpenSource Introduction):

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap