如何本地化ASP.NET身份用户名和密码错误消息? [英] How to localize ASP.NET Identity UserName and Password error messages?

查看:87
本文介绍了如何本地化ASP.NET身份用户名和密码错误消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为系统" ASP.NET Identity v1错误消息提供本地化的字符串,例如"名称XYZ已被使用"或"用户名XYZ无效",可以仅包含字母或数字"?

Is it possible to provide localized strings for the "system" ASP.NET Identity v1 error messages, like "Name XYZ is already taken" or "User name XYZ is invalid, can only contain letters or digits"?

推荐答案

目前,我们在跟踪此工作项以允许指定资源来源方面存在错误.

Not yet, we have a bug tracking this work item to allow specifying where the resources come from.

这篇关于如何本地化ASP.NET身份用户名和密码错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆