0

How do I switch which resource file gets utilized based on current language?

I've got english and a czech resource/resx files:

enter image description here

I can get values out of this file by doing:

Dim mySetting = My.Resources.GlobalStrings.ResourceManager.GetString(value)

When I do this, it automatically uses GlobalStrings.resx.

How do I switch the language and force it to grab settings from GlobalStrings.cs-CZ.resx?

Please note that this is a WinForms application.

Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062

0 Answers0