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 组件
基础教程推荐
- 如果条件可以为空 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 将数据集转换为列表 2022-01-01
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- C# 9 新特性——record的相关总结 2023-04-03
- 获取C#保存对话框的文件路径 2022-01-01
- 从 C# 控制相机设备 2022-01-01
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
