I am trying to implement a language switching method, created a dll in which there are two classes enEN.cs and ruRU.cs
public const string NAME_ELEMENT = "НАЗВАНИЕ ЭЛЕМЕНТА"; I can not figure out how to create a class that would change the values of the rows of my form, based on the language that I choose? If you save the default value in a file, then initially it needs to be created when the form is loaded. You also need to save the value of the language that the user selects.
Connect string to element:
label.Content = EN.String; label.Content = RU.String; How can I make it easier? The form must load (for example) RU.String; first, and when choosing another option, change all such values in the form to EN.String; ..