以编程方式以编程方式创建.resx文件 [英] Programatically create a .resx file from code behind

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

问题描述

嗨..!



我正在设计一个支持多种语言的应用程序。

它支持的语言数量将是由客户端动态添加。

因此,当客户想要支持新语言时,我们需要以编程方式为该文化创建资源文件。

所以每件事都应该点击按钮即可发生。



这可能吗?



i将解释深层问题如果有人无法理解的话。



可以帮助我摆脱这个。





提前致谢

Hi..!

I'm designing an application that supports multiple languages.
the number of languages it supports will be added dynamically by the client.
so, when client wants to support a new language, we need to create the resource file for that culture programatically.
So that every thing should be happen on a button click.

Will that be possible?

i will explain the problem in deep if any one unable to understand.

Could some one help me to get out of this.


Thanks in advance

推荐答案

您可以尝试类似的东西。



http://msdn.microsoft.com/en-us/library/aa905797.aspx [ ^ ]



文章较旧,但我的公司在我们的自定义CMS中使用了它。然后,我们创建了自定义用户控件,以允许编辑器即时进行翻译。
You could try something similar to this.

http://msdn.microsoft.com/en-us/library/aa905797.aspx[^]

The article is older but my company used this in our custom CMS. We then created custom user controls to allow the editor to do translations on the fly.


这篇关于以编程方式以编程方式创建.resx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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