Skip to content

Globalization not working to me!

Krishna Kishore

Asked Mar 24, 2006, 7:21 PM EST2 answers
Share
LinkedInX
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,

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    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...@ [email protected]
     
    0
  • 0
    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