我正在开发一个多语言网站,本地化主要通过使用 .resx 文件完成.但是现在我需要允许具有某些权限的用户从网站在线编辑资源文件.有谁知道任何现有的组件可以帮助实现这一目标?
I'm developing a multilingual web site and the localization is done mostly by using .resx files. But now I need to enable users with some permissions to edit resource files online from the web site. Does anyone know of any existing component to help achieve this?
您能做的最好的事情就是转向 DB 驱动的方法.
Best thing you can do is move to a DB driven approach.
Rick Strahl 有这篇出色的文章:创建数据驱动的 ASP.NET 本地化具有免费源代码的资源提供者和编辑器!
Rick Strahl has this excellent article: Creating a Data Driven ASP.NET Localization Resource Provider and Editor with free source code!
它甚至还具有导入功能,因此您不必重新翻译目前已完成的工作.
It even has a Import feature so you don't have to re-translate the work done so far.
如果您坚持编辑 XML 文件,这篇文章可能会有所帮助:可更新的 ASP.NET ResX 资源提供程序——是的,有可能!
if you insist on editing the XML files, this article may help: Updatable ASP.NET ResX Resource Provider – yes, it’s possible!
这篇关于用于编辑 .resx 文件的 ASP.NET 组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
MVC 中的 GoogleWebAuthorizationBroker 用于 Google Drive 访GoogleWebAuthorizationBroker in MVC For Google Drive Access(MVC 中的 GoogleWebAuthorizationBroker 用于 Google Drive 访问)
为什么我得到 System.UnauthorizedAccessException 对路径Why do I get System.UnauthorizedAccessException Access to the path #39;Google.Apis.Auth#39; is denied(为什么我得到 System.UnauthorizedAccessExcep
在 asp.net 中动态构建的 SiteMapPathDynamically built SiteMapPath in asp.net(在 asp.net 中动态构建的 SiteMapPath)
ASP.NET 异常:无法解析远程名称:“apiconnector.com&qASP.NET Exception: The remote name could not be resolved: #39;apiconnector.com#39;(ASP.NET 异常:无法解析远程名称:“apiconnector.com)
MasterPage 是否知道正在显示的页面?Does a MasterPage know what page is being displayed?(MasterPage 是否知道正在显示的页面?)
ASP.net MVC - 导航和突出显示“当前";关联ASP.net MVC - Navigation and highlighting the quot;currentquot; link(ASP.net MVC - 导航和突出显示“当前;关联)