Hello,
My problem is as follows:
I have main windows form in MS VS 2003 (c#). I wanted to localize Tag
properties of several of it's controls. So I set Localizable property
of this form to 'true'. Then I set Tag properties of its controls to
different strings switching to different languages seting Language
property in main form's designer and everything worked fine. These
strings were added to resources of that languages and Tag properties
were set in InitializeComponent method from resources. Proces was fully
automated.
Then I was performing 'some tasks' on the form like changing location
of controls and so on....
(I understand, that nature of this tasks could be key to resolve this
problem but I can not racall all of it..)
only to find out, that Tag properties of controls were not localized
automatically anymore...
Its values were set directly in initialize components by assigning
constant string values to it and not by using entries from resource
files. Hence Tag properties started to be the sami in all languages.
Then I was trying to repeat originaly successfull process of
localization canceling localization in designer and create it again but
with no success.
I am not able to find any way by which to ensure automatic localization
of Tag properties.
What could have happend or what could I have done that designer ceased
to localize Tag properties automatically?
Any help would be appreciated.
Peter
|