Localization with Resourse Files
Hi Guys
Help on this seems to be really sketchy.
I really want to localize a page using the resource file. As i understand it i populate a resource file with all the strings of different languages, then use the resourse manager and cultureInfo to decide what language to display.
I got this far:
CultureInfo theCulture = CultureInfo.CurrentCulture;
Thread.CurrentThread.CurrentCulture = theCulture;
Thread.CurrentThread.CurrentUICulture = theCulture;
ResourceManager rm = new ResourceManager(
....
Then i'm stuck, anyone know how to set the resource manager up to use the resource files?
Then the next bit is easy i think, like this : lbl.Text = rm.GetString("welcome", theCulture);
Any help would be great, thanks guys.