I have two .resx file, Form1.fr-FR.resx
and Form1.en-US.resx
.
In this files, I add differents strings (same name for both .resx) and each string has a value depending on the .resx file.
Example
For Form1.fr-FR.resx
:
Name | Value
string1 | bonjour
string2 | aurevoir
For Form1.en-US.resx
:
Name | Value
string1 | hello
string2 | bye
I'd like that depending on the language selected, when I press a button, a texbox prints the value of the string1. So if my form is in FR, it prints "bonjour", if it's in EN, it prints "hello". If it can be minimalistic code that would be great
Thanks