ASP.NET component for editing .resx files

I am developing a multilingual website, and localization is mainly done using .resx files. But now I need to allow users with some permissions to edit resource files online from the website. Does anyone know any existing component to help achieve this?

+6
localization translation resx
source share
3 answers

The best you can do is move on to a DB based approach.

Rick Strahl has this excellent article: Creating a Data- Driven Localization ASP.NET Resource Provider and Free Source Editor !

It even has an Import function, so you don’t need to re-translate the work that has been done so far.

Edit: if you insist on editing XML files, this article may help: Updated ASP.NET ResX Resource Provider - Yes, It Can!

+6
source share

I think you should consider this step again. First of all, resx files are compiled instead of being used directly, so any changes * require recompilation of pages *. Another thing is that this can be a serious security risk - you allow users to modify the files in the folder of your application.

* - http://msdn.microsoft.com/en-us/library/ekyft91f%28VS.80%29.aspx

0
source share

I just found this Resource Blender application , similar to what I was looking for:

ResourceBlender is an open source translation and internationalization application that offers an easy way to manage localized resources for inclusion with various applications. Available as an ASP.NET application website and WPF desktop application, it makes application localization a breeze. ResourceBlender generates localized resources in various formats from a central database for inclusion in various applications.

Main functions:

  • Export resources to .NET.resx files, Java.properties, GNU.po / gettext, XHTML objects, and more.
  • Import / export translation data in the form of XML tables to make editing more convenient.
  • Use one translation database to synchronize localization.
  • Support for MySQL, SQL Server and SQLite, so an external database is not required.
  • Transfer from existing .resx or .properties files using the import wizard.
  • Easy for both translators and project owners / administrators.
  • Free and open source.
  • Automatic translation using Google Translate.
  • Custom templates for resource formats.
0
source share

All Articles