Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i changed localization to true and language to hindi and changed controls text then hit build now i supposed to get a resource file which should contain controls names and values (text) but what i am getting is a resource file which added just images for buttons nothing else , please suggest me how should i do that should i add them manually if yes then don't know the syntax to write control names there.
Posted

1 solution

Just simply add the string in .resx file and assign it a value.
for example.

$this.Text	Form1	
>>$this.Name	Form1	
>>$this.Type	System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089	
>>button1.Name	button1	
>>button1.Parent	$this	
>>button1.Type	System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089	
>>button1.ZOrder	0	
button1.Text	abcdef	



this is what i get after setting localization to true.
this content to be written in the .resx file.
 
Share this answer
 
Comments
varun150 30-Sep-13 8:06am    
i did that but vstudio deleted it after i clicked build for .resx of another language that hurt me a lot :'-( please help.

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