2
Answers

Globalization not working to me!

Krishna Kishore

Krishna Kishore

19y
2.1k
1
Hi friends,

For my form control , I setted the Language property to some ARABIC...and setted the Localizable property to true.The respective resource file got generated.
I have a button control on that form(Text as Hello World).

And called the below function before InitializeComponent() function.

Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-BH");


But still not coming...Is there anything extra to do...or any extra files needed......

regards,
Answers (2)
0
Krishna Kishore

Krishna Kishore

NA 39 0 19y
Hello,

When I tried to compile the resx file iam getting some errors in the resp.. xml file....

Fortunately or unfortunately i don't know XMl....Can u give me an other alternative.....
(A small code if possible)..

Thanx,,,
0
Shri Dutta

Shri Dutta

NA 6 0 19y


Actually u need to Link ur assemblies everytime u change ur resource files from .Net command prompt if u are not doing so u won't get the desired results this is eliminated in .Net 2.0 if u are not using it on a public website then better to go for XML as they are easy to change & handle ....drawback is that ur field names will be public(specially label & button text) so i said if u r not using it on a public website :D



Bye & TC .....Plz BUG me in case m wrong or any further help u need...@ shridutta@hotmail.com