Groups | Blog | Home
all groups > dotnet internationalization > january 2006 >

dotnet internationalization : Localizing problem on winform - bug!


Bob
1/7/2006 2:22:02 PM
Vs 2005, a windows form. Was set up to be localizable, was using english and
french all worked fine until I started having to do some modifications to
bound datatables and their binding sources.
All this work of course in the default language and everything works fine on
my form when either executing or in the IDE in the default language.
However, when I switch over to French on that form in the IDE it takes about
45 seconds, my properties for the form get blanked out, the form designer
gets blanked out and I get the following message with big red X in the
designer window. I had been able to switch over to french regularly during
development to change control text as needed. Now I get

One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes.

The designer loader did not provide a root component but has not
indicated why.

There are no errors listed in the error list and the only way I can
get back to my work is by closing the designer and saying no to a save, then
selecting the form again and it comes up in my default language.

Any ideas on how to fix this would be greatly appreciated. I tried
making the form non localizable and then making it localizable again, but
the same thing keeps happening.

As far as I'm concerned, its another bug. Anyone else had similar
problems?

Bob




Bob
1/9/2006 12:59:36 PM
On further investigation I found that if I do a close, that's when the
warning message occurs. I was feeling adventurous and said what the hell,
save changes, had nothing to loose. Then tried to reopen the form and look
and behold! It appeared in french.
And time consuming, you're not kidding.
And they sold this to us under the guise of a RAPID application development
tool, BS!

Any ways Michael, thansk for reading and replying I hope our misfortune
helps others.
Bob

[quoted text, click to view]

Michael Höhne
1/9/2006 5:13:22 PM
Yes, I had similar problems. It destroyed most of a localized form and I had
to use a backup file. Guess the safest way is to localize the application at
the very end of development, but at least for me this is not acceptable. So
backup your code often because it's a time consuming process - I'm sure you
have recognized that.

Michael

"Bob" <bdufour@sgiims.com> schrieb im Newsbeitrag
news:OhNXk%237EGHA.3632@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

GarrMc NO[at]SPAM online.microsoft.com
1/9/2006 9:00:56 PM
Thank you both for sharing this issue and your findings with the community.
If you haven't already, I encourage you to submit a bug report at the MSDN
Product Feedback Center. The product team reviews each customer-submitted
issue, and this is important information for them to have.

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thank you,
Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
[quoted text, click to view]
Michael Höhne
1/10/2006 12:35:02 PM
Garrett,

I would have done it, but the problem is that it's not reproducable, so when
filing a bug at the Product Feedback Center, you will likely set it to "Not
reproducable". Localizing works in 99% of the time but if it fails, it will
destroy most of your work. Usually the complete initialization code is
removed from the *.designer.cs file, while the declaration of the control
variables are still in there.

I'm always doing the same, changing the form's language between default and
German, localize some controls, and suddenly it happens. Even though I faced
this bug several times, I cannot tell you any steps to repro, except doing
exactly this until it happens - and it may take a long time until it breaks.

Michael



"Garrett McGowan[MSFT]" <GarrMc@online.microsoft.com> schrieb im Newsbeitrag
news:kVSkK$VFGHA.1236@TK2MSFTNGXA02.phx.gbl...
[quoted text, click to view]

GarrMc NO[at]SPAM online.microsoft.com
1/11/2006 1:16:40 AM
If you can manage to reproduce it with a demo project or a (project you
don't mind sharing for this purpose) , then you could ZIP the solution
folder and add it as an attachment to the bug report. This would also give
the team something to work from.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
[quoted text, click to view]
Michael Höhne
1/12/2006 1:03:36 PM
I found a way to reproduce a similar bug. Though it's not exactly the same
as Bob and I described, I hope that it leads to the right direction when
investigating the overall problem. I entered it as a bug into the product
feedback center (FDBK43827).

Michael

"Garrett McGowan[MSFT]" <GarrMc@online.microsoft.com> schrieb im Newsbeitrag
news:Wm%236wykFGHA.1240@TK2MSFTNGXA02.phx.gbl...
[quoted text, click to view]

GarrMc NO[at]SPAM online.microsoft.com
1/12/2006 7:25:27 PM
Thank you Michael - I appreciate your help!

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
[quoted text, click to view]
Bob
1/14/2006 1:41:27 PM
I can't re[roduce it on a small p[roject and I ytried zipping the whole
project folder but the site rejected it as too big.
Sorry, I would like to get this resolved but I guess it looks like it won't
be soon :-(
Bob

[quoted text, click to view]

GarrMc NO[at]SPAM online.microsoft.com
1/17/2006 12:15:50 AM
Thank you for trying, Bob. Hopefully Michael's example will serve the same
purpose.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
[quoted text, click to view]
AddThis Social Bookmark Button