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