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
  • 54,010
  • 276
  • 644
  • 1,024

0 Answers0