How to change the current resource manager at runtime to switch languages?

I have a C # application and I'm trying to get it to support multiple languages ​​by referencing different resx files using the resource manager.

I have this code in my Designer.cs:

        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
    public static global::System.Resources.ResourceManager ResourceManager {
        get {
            if (object.ReferenceEquals(resourceMan, null)) {
                global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("project.resources.en-US", typeof(resources.en-US).Assembly);
                resourceMan = temp;
            }
            return resourceMan;
        }
    }

How to switch System.Resources.ResourceManager("project.resources.en-US", typeof(resources.en-US).Assembly)in System.Resources.ResourceManager("project.resources.it-IT", typeof(resources.it-IT).Assembly)at run time without changing Designer.cs code? Is it possible?

This question is related

Edit: To clarify, I understand that I should not change my developer code, but I'm trying to make it so that I can access another resx file. I apologize if my question was incorrectly formulated, but, I think, I do not quite understand what I'm talking about. I'm looking at satellite assemblies now.

+5
1

, . System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");

+3

All Articles