如何在 WPF 应用程序中本地化 ASP.Net Memebership 提供程序

发布于 2024-08-31 17:54:48 字数 178 浏览 3 评论 0原文

我们在基于 WPF 的应用程序中使用 ASP.Net Membership 提供程序作为用户管理模块。看起来运行良好。但现在我们想要本地化我们的 WPF 应用程序,并且不知道如何处理作为 Membership Provider 的一部分存储的数据。会员提供商是否支持本地化?是的,对此的任何意见都会有很大帮助。

问候, 史密莎

We are using ASP.Net Membership provider for user management module in our WPF based application. It seems to be working fine. But now we want to localize our WPF application, and don't know how to do that with respect to the data stored as part of Membership Provider. Is Localization supported by Membership Provider ? Is so, any input on this would be of great help.

Regards,
Smitha

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾城月光淡如水﹏ 2024-09-07 17:54:48

这取决于您使用需要本地化的提供程序存储的数据类型以及如何将其与 UI 关联。

对于预先确定的值,您可以使用资源,然后从资源中提取所需的字符串。

对于用户生成的内容(例如用户名和其他类似内容),我认为您不想对其进行本地化。

That depends on what sort of data do you store in with the provider that needs to be localized and how you tie it to the UI.

For pre-determined values you can use resources, and then pull out the required string from a resource.

For user-generated stuff (such as usernames and other stuff like that) I don't think you want to localize that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文