By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,760 Members | 1,557 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,760 IT Pros & Developers. It's quick & easy.

Custom strings getting erased from resource file

P: n/a
I have a 'frmMain' that I would like to add localization capabilities to.
For now I'm just going to focus on English and Spanish. So I got Visual
Studio to automatically create these 3 files:

frmMain.en.resx
frmMain.es.resx
frmMain.resx

They all work great for automatically changing strings of controls I've laid
out on the form. But I also want to add in a number of custom strings that
I'll eventually provide a Spanish equivalent to.

Here's the problem: Using the resource string editor I first added them to
'frmMain.resx'. That worked fine at first but then something happened and
Visual Studio seemed to rewrite the entire file, clearing away my custom
strings.

I read some threads on here and someone said it's best to put such custom
strings directly in the specific language file; in this case
'frmMain.en.resx'. But eventually the same problem occurred.

I have two questions:
1. Why is this happening?
2. What would you suggest is my best solution?

Robert W.
--
Vancouver, BC
www.mwtech.com

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.