I found several similar topics, but I did not get the answer I'm looking for.
I'm just trying to internationalize before I start the “more serious” (WinForms) project. So, currently, in my small test application, I decided to localize using satellite assemblies (dll language files), and I fill in the text fields of the ResourceManager controls, and the language change is allowed by Thread.CurrentThread.CurrentCulture and Thread.CurrentThread. Methods CurrentUICulture.
CultureInfo ci = new CultureInfo(lang); Thread.CurrentThread.CurrentCulture = ci; Thread.CurrentThread.CurrentUICulture = ci; this.button1.Text = Resources.LocTest.String1;
I would like to load all texts from resources at the initial start of the program, and not only in the main form, but all of them (also on those forms that have not yet been created)! How could I implement this? Is this procedure possible at all?
I have a tip that I should simplify the whole localization process by setting the "localizable" property to true and making the translation complete. And most manuals follow this path.
Does anyone have any idea which method should I use?
Thanks in advance!
I am very confused by localization ...
source share