I have made two resource files,named
1)Form1.en-US.resx
Name Value
Button1.Text English
2)Form1.fr-FR.resx
Name Value
Button1.Text France
My Code is as Under-
Imports System.Globalization
Imports System.Threading
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ci As CultureInfo
Dim aL As New ArrayList()
For Each ci In CultureInfo.GetCultures(CultureTypes.SpecificCultures)
ComboBox1.Items.Add(ci.Name)
Next ci
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim lang As String
lang = ComboBox1.SelectedItem
Thread.CurrentThread.CurrentUICulture = New CultureInfo(lang) 'Changes the Language
End Sub
End Class
But the Button1 text is not changing.Can Somebody tell where i m wrong?