Click here to Skip to main content
15,905,682 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Hi Frnds,
I need to develop a Muliti Lanugage Application. I don't have any idea for this.
How can i change my Buttons, labels Language at the same time i need to save my input in a local language in sql server. And How can i retrive the Output!!


Please Help me.
thanks
Posted

 
Share this answer
 
Comments
sat80890 25-Jan-11 3:14am    
thank you sir
The theory is to use different resource files, one for each different language you are supporting. Identical resources have identical names, so that BTN_SEARCH would be whatever text goes on a search button regardless of what language you are using. Then in your initialization code, you load text for buttons, menus, labels, etc. from the resource file rather than use static strings. All you have to do is swap resource files, and your application has changed language.

As far as practice, I've never actually done this. I expect that someone has written a very good how-to article here at CP, so you might want to do a search.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 25-Jan-11 2:53am    
If you pointed to the appropriate technique in MS documentation, I would voted 5, I guess...
sat80890 25-Jan-11 3:15am    
thank you sir

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