用于编辑 .resx 文件的 ASP.NET 组件 [英] ASP.NET component to edit .resx files

查看:16
本文介绍了用于编辑 .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 组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆