PC Review


Reply
Thread Tools Rate Thread

Automatic Localization of Tag property of Control

 
 
Lagrange
Guest
Posts: n/a
 
      15th Nov 2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
localization - disabling the localization of control properties? Sergei Shelukhin Microsoft Dot NET Framework Forms 1 25th Oct 2007 11:52 PM
FileUpload Control localization... ne-no Microsoft ASP .NET 1 7th Mar 2006 09:10 AM
User Control Localization =?Utf-8?B?SW5ub3ZhY3RpdmU=?= Microsoft Dot NET Framework Forms 0 21st Dec 2005 04:54 PM
Custom Property Localization Nice Chap Microsoft VB .NET 0 24th Aug 2004 10:52 AM
Localization Supported control jagdish patel Microsoft ASP .NET 0 4th Aug 2003 02:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:12 PM.