Automatic Updater *Control* Localization

Hi & merry X-Mas to all of you.

I allow my users to select their GUI language on application startup and set CurrentThread.CurrentUICulture accordingly (can't change System.Globalization.CurrentCulture.CurrentUICulture as it is read-only).

Is there any way to make the AutomaticUpdater control use that particular culture?

(Basically much the same as Ken Res asked on Aug 16 ('Localization of wyUpdate [how it selects the language]') but for the control, not the standalone exe.)

Thx

Merry Christmas, Frank.

The easiest way to solve this is to use an If statement or switch statement based on the culture code:

if (cultureCode == "fr-FR"){    //TODO: french translation    automaticUpdater.Translation.Checking = "...";    ...}else if (cultureCode == "de-DE"){    //TODO: german translation    automaticUpdater.Translation.Checking = "...";    ...}


etc...

This should all be executed in the constructor of your form. Of course, you can simplify it further to load strings from a file.

Tell me if this helps.

Ah, OK. I had completely missed the "Translation" feature (just starting out with wyBuild).Your snippet sure looks like it's gonna do the job. And thanks for your fast reply!