I'm working on a project that involves localizing a large number of Windows Forms.
We're dealing with layout using the TableLayoutPanel control, which works nicely.
One area we're striking problems with is when we set the Form.Localizable property to True, we then end up having to manage one .resx file per form per language. That'd be fine if the .resx files only contained the Localized text, but it also contains a vast amount of layout data for the form.
Is there a way to separate the localizable text elements from the control layout information, that continues to work in the visual studio IDE?
I've noticed that I can modify my the form's designer file to look at another resource file, but when I use the form designer, these changes are deleted:
' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Dock = System.Windows.Forms.DockStyle.Top Me.Label1.Location = New System.Drawing.Point(3, 0) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(61, 13) Me.Label1.TabIndex = 1 Me.Label1.Text = My.Resources.ResourceManager.GetString("Form1_Label1_Text")