Search code examples
asp.netwpflocalizationmembershipprovider

How to localize ASP.Net Memebership provider in WPF application


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


Solution

  • 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.