Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to develop Globalised winform application.The first page has the option to select language.Now the second page resource file gets loaded according to the Language it selects in the first page using Thread.currentthread.UIculture property.Now i want to display the messagebox message in the language that the user selects.I dont know how to do that.
Posted

You need to have a string text in the language resource file.
Then display that text in the your message box.
 
Share this answer
 
Check this tutorial

http://msdn.microsoft.com/en-us/library/y99d1cd3(v=vs.71).aspx[^]

It gives you the exact solution you need.
 
Share this answer
 
Comments
Kunal Singha Roy 6-Sep-11 9:16am    
I can localize the string of messagebox by putting it in the resouce file added in the application.But cant i add the string in the resource file generated for the form and then manipulate it because i want to keep all the form speecific strings in the form resource file that is generated.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900