ASP.NET component to edit .resx files(用于编辑 .resx 文件的 ASP.NET 组件)
问题描述
我正在开发一个多语言网站,本地化主要通过使用 .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 组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用于编辑 .resx 文件的 ASP.NET 组件
基础教程推荐
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
