resx文件有哪些替代方法 [英] What are the alternatives to resx file

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

问题描述

我正在开发Windows应用程序,我想在一个地方存储标签,单选按钮,按钮,复选框,网格列标题的所有文本。我已经尝试过类文件,xml文件,数据库表和资源文件。我发现类文件是存储所有这些文本的最佳方式,但是,我想知道他们的任何替代方式?如果我正在使用类文件,我将不得不重新编译项目,如果任何文本更改。如果你还有其他最佳方式,请建议我。



提前谢谢你。

I am developing windows application and I want to store all the texts for labels, radio buttons, buttons, check boxes, column headers of grid at one place. I have tried class file, xml file, database table and resource file. I found that class file is the best way to store all these texts, but, I want to know is their any alternate way? If i am using class file then, i will have to recompile project if any text changes. Please suggest me if you have any other best way.

Thank you in advance.

推荐答案

你好,



您的应用程序是支持多文化设施,还是只支持一种语言。如果只有一种语言,那么你可以根据我的知识性能去上课文件,不会影响。如果多文化我的下一个问题是你使用任何第三方工具进行全球化目的吗? .resx.en,resx.sw,resx.dn这样你可以根据语言定义不同的资源文件我觉得这是最好的方法。否则您可以使用infralution等供应商工具来帮助执行此功能。



谢谢

Sriram.B
Hi,

Does your application supports multi-culture facility, or only one language. If only one language then you can go for class files based on my knowledge performance will not affect. If multi-culture my next question is are you using any third party tools for globalization purpose? .resx.en, resx.sw, resx.dn like this you can define different resource file based on language I feel this is the best way. Otherwise You can go for vendor tools like infralution which helps to perform this functionality.

Thanks
Sriram.B


这篇关于resx文件有哪些替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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