multi lenguage  
Author Message
LukaSoFt





PostPosted: Visual C# General, multi lenguage Top

I need some example or direction where i can download it about the choise of lenguage.
example button ita --> all string write in italian
button eng --> all string write in english
please help me.



Visual C#3  
 
 
Sune Henriksen





PostPosted: Visual C# General, multi lenguage Top

Hello LukaSoFt

Try using a rescourse file. In your project, add a new item and locate the rescourse. If you call the file language.rscx you can have the text look in this file like this:

label1.text = language.label1text;

It will be a lot clearer to you if you try it, because the intellisence will aid you in this. If you then need another language, all you have to do is change the language file. ;)

Hope this helps.

Sune


 
 
ThE_lOtUs





PostPosted: Visual C# General, multi lenguage Top

You can set your control (form) Localizable to True, set the Language property you want (all in the Property windows) then write your text like normaly in the form.