Internationalize HelloWorld program .NET

Posted by RockStarInTraining on Stack Overflow See other posts from Stack Overflow or by RockStarInTraining
Published on 2009-07-15T02:10:02Z Indexed on 2010/03/15 11:09 UTC
Read the original article Hit count: 370

Filed under:
|
|
|

I have small test app which has 2 resource files (Resources.resx & Resources.de-DE.resx) with the same exact string names, but one has the strings converted to German.

For my form I set the Localize property to ture.

In my application I am getting the strings as such:

this.Text = Properties.Resources.frmCaption;

In my release folder I get a de-DE folder with a dll named International_test.resources.dll.

I try to distribute this to a machine which is set to German and all of the strings pulled are still english.

I tried keeping the International_test.resources.dll in the de-DE folder or just put in in my apps directory.

What am I doing wrong or what do I need to do to get the German resource file to be used?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET