My localization has stopped working, how do i use .resx files now?

C

Claire

Hi,
Since moving to vs 2005, I want to use the auto generated designer files and
variables that VS2005 produces from resx files.
In my original code, Windows was switching in my german strings fine, but
now only my english strings are being shown when I change culture to german.

for example my english file is named appstrings.resx, my german file is
named appstrings.de.resx
There is data in the autogenerated appstrings.designer.cs (defining get
functions for every string resource), but nothing in the
appstrings.de.designer.resx file.

I'm hoping someone can help me soon on this as Ive spent nearly a full day
switching my code and all the strings over to using the system this way.
I set the customtool property of the xxx.de.resx files to
ResXFileCodeGenerator as I noticed this hadnt been set automatically when I
created the new resx file. I also set newly created resx files to
xxx.de.resx as their filenames.

thankyou
Claire (msdn subscriber)
 
C

Claire

Phew, I was setting CurrentCulture rather than CurrentUICulture in my
program.cs file. It works fine now. Sorry for bothering
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top