JLE
  • JLE
  • Newbie Topic Starter
2014-01-21T18:22:48Z
want to know if there is any way to preserve the value of iGUIStrings translated into each language - in my case the Spanish- every time you change the version of AFM and PRM
thanks
Igor/10Tec
2014-01-23T10:43:24Z
We have tested this issue with iGrd.NET+AFM 4.5.27 and iGrid.NET+AFM 4.6.0 in Visual Studio 2013 SP1. The problem does not occur.

We used these steps to update the components in the project.

1) Close any forms with iGrid and AFM in the designer.

2) Remove the references to the old grid and AFM add-on in the Solution Explorer (right-click on the Reference node like TenTec.Windows.iGridLib.iGrid.v4.6 and then the Remove command).

3) Add the references to the new iGrid (right-click on the References node, then 'Add Reference...').

That's all. If we reopen the forms with iGrid and AFM, check their localizable properties in different languages (by changing the form's Language property), all non-default settings remain the same.

***

It's strange that your VS clears the localized property values. It should not happen. If you open the form resource file for any non-default language (for instance, Form1.es-ES.resx for the Spanish/Spain localization) in a text editor to see its contents, you'll see that the full iGrid or AFM version like 4.5.27 isn't specified anywhere in it, so this should not depend on the full version of the used components.
JLE
  • JLE
  • Newbie Topic Starter
2014-01-23T13:51:39Z
Forgot to mention that I use Visual studio 2010, and I find no reference to language in forms
Igor/10Tec
2014-01-23T15:30:57Z
I'm talking about the Localizable and Language properties you can set for every Systems.Windows.Forms.Form at design time using the property grid. This is the standard technique we all should use for form localization. And it does work in VS 2010 and even earlier versions.

If you are not familiar with this approach, you should use it. For more info, read the following article:

Walkthrough: Localizing Windows Forms
http://msdn.microsoft.com/en-us/library/y99d1cd3(v=vs.110).aspx