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

LazZiya/ExpressLocalizationSampleCore3: Sample localization project based on ori ...

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

开源软件名称(OpenSource Name):

LazZiya/ExpressLocalizationSampleCore3

开源软件地址(OpenSource Url):

https://github.com/LazZiya/ExpressLocalizationSampleCore3

开源编程语言(OpenSource Language):

C# 70.0%

开源软件介绍(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 3.0

Fully localized Asp.Net Core 3.0 project, based on the basic template from Visual Studio. Localized using LazZiya.ExpressLocalization and LazZiya.TagHelpers.Localization.

DotNetCore Version

This project uses dotnetcore3.0. additionally you can find dotnetcore2.2 compatible version here: ExpressLocalization Sample for Asp.Net Core 2.2

Visual Studio Version

In order to work with this project you need to install the latest preview version of visual studio with DorNetCore3.0 preview https://visualstudio.microsoft.com/vs/preview/

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

Resource texts may need fixing/adding translations

  • Arabic
  • Chinese
  • Czech
  • Dutch
  • English
  • French
  • German
  • Hindi
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Persian
  • Polish
  • Portuguese
  • Portuguese Brazil
  • 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.

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