开发者

.net mvc 2 internationalization text files

开发者 https://www.devze.com 2023-02-07 21:40 出处:网络
I have a requirement to create internationalization with regular text files (perhaps simple xml). The file needs to be modifiable from a text editor and that changes in it do not require recompilation

I have a requirement to create internationalization with regular text files (perhaps simple xml). The file needs to be modifiable from a text editor and that changes in it do not require recompilation of the code.

Is there a suggested solution开发者_开发技巧 (.net framework's or 3rd party) for such a thing?

Thank you

UPDATE: I am talking about localization, sorry. What I require is to have a text file, which can be translated and used by application without the need for VisualStudio or recompilation. You change a text file, and it all works.

--MB


I don't know of any existing solutions, however you can rather easily create your own ResourceProvider.

Here are some good links to get you going:

http://weblogs.asp.net/thangchung/archive/2010/06/25/extending-resource-provider-for-soring-resources-in-the-database.aspx

This one is great!


I am guessing your talking about localization. I have found this very hard to do after the fact. We used Multi Language Software to help us add it to existing projects. It is an ok tool. I have struggled with it sometimes but not to much. If anything it can help you come up with a plan to do it better.

0

精彩评论

暂无评论...
验证码 换一张
取 消