用于编辑多语言resx文件的工具 [英] Tool for editing multi-language resx file

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

问题描述

(2)感谢您获得以下(1)节的第一个答案.现在,任何人都可以提供示例源代码来编写一种工具来编辑具有自己的XML格式的多语言资源文件吗?或者,它的任何指导方针?谢谢.


(1)我正在编写一个Windows Forms应用程序,它将用于多语言,现在我可以在该应用程序中实现它以具有适用于不同语言的resx文件,但是,我还必须为客户提供一种简便的方法来在VS以外的语言字符串中编辑resx文件,是否有用于此目的的免费工具?如果我必须自己编写工具,那么后续的指导方针是什么(详细的源代码将不胜感激)?谢谢.

(2) Thanks to get 1st answer of the following (1) section. and now can any one help to provide sample source code to write a tool to edit the resource file of multi-language with own XML format ? Or, any guid line of it ? Thanks.


(1) Hi, I am writing a Windows Forms application, it will be for multi-language, I now can implement it to have resx file for different language in this application, however, I also have to provide easy way for our customer to edit resx file for his language string outside the VS, are there free tools for this purpose ? If I have to write tool by myself, what''s the guide line to follow up (detailed source code will be appreciated) ? Thanks.

推荐答案

前段时间我们遇到了同样的问题,省略了resx的内容,并出于各种原因将所有内容都放入了我们自己的XML格式.

使用resx的缺点是您需要将其编译为程序集.

如果您使用resx文件进行翻译,建议您不要让用户对其进行修改.如果是强制性请求,请改用平面文件xml并为此编写应用程序.您需要修改您的应用程序以改为读取XML,但这非常简单.

希望这会有所帮助.
We had the same problem a while back, omitted the resx stuff and put everything in our own XML format for various reasons.

The drawback of using resx is you need to compile it into an assembly.

If you use resx files for translations, I would not recommend having the user modify it. If it is a mandatory request, use a flat file xml instead and write an application for that. You''ll need to modify your app to read in the XML instead, but it is pretty straightforward.

Hope this helps.


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

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