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

查看:275
本文介绍了ASP.NET组件编辑.resx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个多语言网站,本地化是通过使用.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?

推荐答案

你能做的就是移动到一个数据库驱动的方法最好的事情。

Best thing you can do is move to a DB driven approach.

里克施特拉尔有这样优秀的文章:创建一个数据驱动的ASP.NET本土化
资源提供者和编辑
免费的源$ C ​​$ C

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!

这篇关于ASP.NET组件编辑.resx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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