How to create Multi language website in aspx with database

后端 未结 3 1505
生来不讨喜
生来不讨喜 2021-01-24 09:24

How to create Multi language website in aspx where database store translations? I search many articles but there is not uniq solution.

Anyone have good isea or know any

相关标签:
3条回答
  • 2021-01-24 10:08

    This article is not using a database but is utilizing ASP.NET's built in Localisation features with resource files.

    0 讨论(0)
  • 2021-01-24 10:12

    You will need to create your own database resource provider. See this article:

    http://msdn.microsoft.com/en-us/library/aa905797.aspx

    0 讨论(0)
  • 2021-01-24 10:23

    There is a nice article from Rick Strahl about this.

    Creating a Data Driven ASP.NET Localization Resource Provider and Editor

    The article includes a download link to a component you can integrate in your own website. Be aware that integrating Resources into your websites this way has pros and cons:

    Pro – You can delegate the maintenance of your resources to your users.

    Con – You lose the tight coupling between resources and code. No strong typed ResourceManager. No compile time check for resource existence.

    0 讨论(0)
提交回复
热议问题