Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamically adding resource strings

Tags:

c#

Is it possible to dynamically add resource strings on the fly to resource files? What if the effort involves multiple languages?

like image 388
bevacqua Avatar asked Feb 03 '23 01:02

bevacqua


1 Answers

Have a look at the resourceWriter class on the MSDN: http://msdn.microsoft.com/en-us/library/system.resources.resourcewriter.aspx

This class will perform all of the heavy lifting in terms of file I/O and data formatting. There is also a great tutorial on how to actually use it at: http://www.c-sharpcorner.com/UploadFile/yougerthen/105232008045338AM/1.aspx

Hope this helps.

like image 138
MysteryMoose Avatar answered Feb 11 '23 20:02

MysteryMoose