I created a simple console application to display the string "Hello World". Later, I cited resource files to support different languages ββand put the translated version of "Hello World". I am trying to run console.exe on a Chinese OS and expect to see "Hello World" which will be displayed in Chinese. Unfortunately, it shows English.
After analysis, it turned out that adding .resx files creates a separate folder in the project with .resource dll for each language (satellite assembly). So, if I put .exe along with other folders and ran, then "Hello World" will appear in Chinese. If I delete the folders (.resource) and then run only .exe, it will display "Hello World" in English again.
Is there a way to create a .exe file with all resource files mapped to each other. So I do not need to place folders with .exe before running .exe.
By the way, I'm trying to access strings using Strings.STRING_NAME, where Strings is the default resource file name. Other language string files are of the type Strings.fr.resx, Strings.de.resx.
Please help with this.
Thanks in advance.
source
share