multilingual Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nrylm25
    New Member
    • May 2010
    • 10

    multilingual Application

    Hi everyone,

    I'm working on multilingual applications. I m trying to do in Turkish and English languages. But I have a problem.

    I have 2 forms and each form has a MenuStrip that has a Change Language menu. Change language is another form and It has a combobox that enable to choose language. When I choose "Turkish", second form changes to Turkish but Main form remaining in English. I have all localization setting properly.

    Also when I change language form Second Form's menu, form is still in English, but when I go to Main form(it is still can't change) and come back to second form it is in Turkish. How can I do it to be in Turkish without coming back?

    this is my code:

    If ComboBox1.Selec tedItem = "Turkish" Then
    Thread.CurrentT hread.CurrentUI Culture = New CultureInfo("tr-TR")
    Me.InitializeCo mponent()
    Me.close()

    Else
    Thread.CurrentT hread.CurrentUI Culture = New CultureInfo("en-GB")
    Me.InitializeCo mponent()

    End If

    if any1 knows how to solve these problems, plz. help me!!
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    Launch the second form as modalless

    i.e. Don't show a modal dialog by setting Form2.ShowDialo g()...
    Instead do Form2.Show()..

    Try if it works

    Comment

    • nrylm25
      New Member
      • May 2010
      • 10

      #3
      Thanx for yor reply...
      I've tried it, but it does not work.

      I tried also Form2.refresh() but It does not work also:(

      any other suggestions?

      Comment

      Working...