468,245 Members | 1,646 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,245 developers. It's quick & easy.

Custom strings getting erased from resource file

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
0 910

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Phil Da Lick! | last post: by
5 posts views Thread by Martin Bischoff | last post: by
reply views Thread by Robert Scheer | last post: by
8 posts views Thread by bryan | last post: by
4 posts views Thread by dwyer.bill | last post: by
1 post views Thread by Alan | last post: by
reply views Thread by castironpi | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.