HighTechTalks DotNet Forums  

winres

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss winres in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AndrewEames
 
Posts: n/a

Default winres - 01-16-2005 , 05:59 PM






I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #2  
Old   
Marin Millar [Microsoft]
 
Posts: n/a

Default RE: winres - 01-18-2005 , 05:39 PM






Winres was designed as a simple localization editor - it's not a good
solution for large scale projects. As you've noticed, there's no support for
translation memories, update management, string localization etc. It's just
a solution for people that may have very simple projects as a localization
editor.
I recommend using some of the third party localization tools available. I
haven't really reviewed any myself, but I believe that Passolo, Alchemy
Catalyst and SDL all have support for the .NET resource model. I think there
is another one as well called Visual Localize.
As for Winres, you can localize inherited forms, but the base assembly must
be installed in the GAC or in the same folder as Winres. You can find more
information about common Winres problem in this blog entry:
http://blogs.msdn.com/rprabhu/archiv.../21/56536.aspx
If you are experiencing other problems, please report them through the MSDN
Product Feedback Center at http://lab.msdn.microsoft.com/productfeedback/ .
I haven't heard of anyone losing bitmaps, so that would be something that we
should look into fixing if it can be reproduced in our environment.
Winres is somewhat improved for 2005. We tried to make it more stable and
fix the common errors that people experience, however, it's still not a full
fledged localization tool so I would still recommend a commerical translation
tool.
Hope this helps,
Marin

"AndrewEames" wrote:

Quote:
I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #3  
Old   
AndrewEames
 
Posts: n/a

Default RE: winres - 01-19-2005 , 03:09 PM



Thanks for the response.
I am aware of the workaround you mentioned for derived forms but there are
other issues.

Just to clarify on some of the problems I have had

1) WinRes wont open derived forms which have public sub controls in the base
form. I actually reported this bug and it is apparently fixed in 2005.

The remaining issues I haven't reported nor have I made a huge effort to
track them down but you might be interested in them

2) If I open a derived control in WinRes and save it in another language,
WinRes can't open the file it just saved.

3) If I open a .resx file wihch contains a picturebox with an image, when I
save it in another language, the image is gone

4) Controls with transparent backgrounds dont appear to be rendered correctly

5) Some 3rd party controls are not rendered correctly - in particular, the
SandBar menubar control

If you are unaware of these bugs, I'd be appy to try and make a repro if
they could get fixed in 2005!

I did try the Passolo tools briefly but they too seemed to have problems
rendering some controls as well as the fact they cost an arm and a leg.

Our application is relatively small and we'd be happy to use WinRes if it
worked reliably

Anyway, thanks for replying
Andrew Eames

"Marin Millar [Microsoft]" wrote:

Quote:
Winres was designed as a simple localization editor - it's not a good
solution for large scale projects. As you've noticed, there's no support for
translation memories, update management, string localization etc. It's just
a solution for people that may have very simple projects as a localization
editor.
I recommend using some of the third party localization tools available. I
haven't really reviewed any myself, but I believe that Passolo, Alchemy
Catalyst and SDL all have support for the .NET resource model. I think there
is another one as well called Visual Localize.
As for Winres, you can localize inherited forms, but the base assembly must
be installed in the GAC or in the same folder as Winres. You can find more
information about common Winres problem in this blog entry:
http://blogs.msdn.com/rprabhu/archiv.../21/56536.aspx
If you are experiencing other problems, please report them through the MSDN
Product Feedback Center at http://lab.msdn.microsoft.com/productfeedback/ .
I haven't heard of anyone losing bitmaps, so that would be something that we
should look into fixing if it can be reproduced in our environment.
Winres is somewhat improved for 2005. We tried to make it more stable and
fix the common errors that people experience, however, it's still not a full
fledged localization tool so I would still recommend a commerical translation
tool.
Hope this helps,
Marin

"AndrewEames" wrote:

I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #4  
Old   
Marin Millar [Microsoft]
 
Posts: n/a

Default RE: winres - 01-19-2005 , 04:17 PM



Yes, sorry that is another known issue with 2003. I haven't heard of the
other problems, but I will see if I can repro them here. It would be great
if you have time to report 2, 3 & 4 in the product feedback center. It
really helps to have customer reports when trying to get bugs fixed. I'm not
sure about problem 5, but if you report it to the Sandbar owners, they can
contact us if they can identify the problem and we may be able to help find a
solution. Marin

"AndrewEames" wrote:

Quote:
Thanks for the response.
I am aware of the workaround you mentioned for derived forms but there are
other issues.

Just to clarify on some of the problems I have had

1) WinRes wont open derived forms which have public sub controls in the base
form. I actually reported this bug and it is apparently fixed in 2005.

The remaining issues I haven't reported nor have I made a huge effort to
track them down but you might be interested in them

2) If I open a derived control in WinRes and save it in another language,
WinRes can't open the file it just saved.

3) If I open a .resx file wihch contains a picturebox with an image, when I
save it in another language, the image is gone

4) Controls with transparent backgrounds dont appear to be rendered correctly

5) Some 3rd party controls are not rendered correctly - in particular, the
SandBar menubar control

If you are unaware of these bugs, I'd be appy to try and make a repro if
they could get fixed in 2005!

I did try the Passolo tools briefly but they too seemed to have problems
rendering some controls as well as the fact they cost an arm and a leg.

Our application is relatively small and we'd be happy to use WinRes if it
worked reliably

Anyway, thanks for replying
Andrew Eames

"Marin Millar [Microsoft]" wrote:

Winres was designed as a simple localization editor - it's not a good
solution for large scale projects. As you've noticed, there's no support for
translation memories, update management, string localization etc. It's just
a solution for people that may have very simple projects as a localization
editor.
I recommend using some of the third party localization tools available. I
haven't really reviewed any myself, but I believe that Passolo, Alchemy
Catalyst and SDL all have support for the .NET resource model. I think there
is another one as well called Visual Localize.
As for Winres, you can localize inherited forms, but the base assembly must
be installed in the GAC or in the same folder as Winres. You can find more
information about common Winres problem in this blog entry:
http://blogs.msdn.com/rprabhu/archiv.../21/56536.aspx
If you are experiencing other problems, please report them through the MSDN
Product Feedback Center at http://lab.msdn.microsoft.com/productfeedback/ .
I haven't heard of anyone losing bitmaps, so that would be something that we
should look into fixing if it can be reproduced in our environment.
Winres is somewhat improved for 2005. We tried to make it more stable and
fix the common errors that people experience, however, it's still not a full
fledged localization tool so I would still recommend a commerical translation
tool.
Hope this helps,
Marin

"AndrewEames" wrote:

I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #5  
Old   
Marin Millar [Microsoft]
 
Posts: n/a

Default RE: winres - 01-20-2005 , 01:13 PM



I am still investigating 2 & 3. But I realized that 4 is because color is
not a localizable property, so the that information is not included in the
..resx file. Therefore, there's no way to render color changes in Winres and
it falls back to the default colors. Thanks, Marin

"Marin Millar [Microsoft]" wrote:

Quote:
Yes, sorry that is another known issue with 2003. I haven't heard of the
other problems, but I will see if I can repro them here. It would be great
if you have time to report 2, 3 & 4 in the product feedback center. It
really helps to have customer reports when trying to get bugs fixed. I'm not
sure about problem 5, but if you report it to the Sandbar owners, they can
contact us if they can identify the problem and we may be able to help find a
solution. Marin

"AndrewEames" wrote:

Thanks for the response.
I am aware of the workaround you mentioned for derived forms but there are
other issues.

Just to clarify on some of the problems I have had

1) WinRes wont open derived forms which have public sub controls in the base
form. I actually reported this bug and it is apparently fixed in 2005.

The remaining issues I haven't reported nor have I made a huge effort to
track them down but you might be interested in them

2) If I open a derived control in WinRes and save it in another language,
WinRes can't open the file it just saved.

3) If I open a .resx file wihch contains a picturebox with an image, when I
save it in another language, the image is gone

4) Controls with transparent backgrounds dont appear to be rendered correctly

5) Some 3rd party controls are not rendered correctly - in particular, the
SandBar menubar control

If you are unaware of these bugs, I'd be appy to try and make a repro if
they could get fixed in 2005!

I did try the Passolo tools briefly but they too seemed to have problems
rendering some controls as well as the fact they cost an arm and a leg.

Our application is relatively small and we'd be happy to use WinRes if it
worked reliably

Anyway, thanks for replying
Andrew Eames

"Marin Millar [Microsoft]" wrote:

Winres was designed as a simple localization editor - it's not a good
solution for large scale projects. As you've noticed, there's no support for
translation memories, update management, string localization etc. It's just
a solution for people that may have very simple projects as a localization
editor.
I recommend using some of the third party localization tools available. I
haven't really reviewed any myself, but I believe that Passolo, Alchemy
Catalyst and SDL all have support for the .NET resource model. I think there
is another one as well called Visual Localize.
As for Winres, you can localize inherited forms, but the base assembly must
be installed in the GAC or in the same folder as Winres. You can find more
information about common Winres problem in this blog entry:
http://blogs.msdn.com/rprabhu/archiv.../21/56536.aspx
If you are experiencing other problems, please report them through the MSDN
Product Feedback Center at http://lab.msdn.microsoft.com/productfeedback/ .
I haven't heard of anyone losing bitmaps, so that would be something that we
should look into fixing if it can be reproduced in our environment.
Winres is somewhat improved for 2005. We tried to make it more stable and
fix the common errors that people experience, however, it's still not a full
fledged localization tool so I would still recommend a commerical translation
tool.
Hope this helps,
Marin

"AndrewEames" wrote:

I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #6  
Old   
AndrewEames
 
Posts: n/a

Default RE: winres - 01-20-2005 , 02:51 PM



I can't trivially reproduce 2 it must be something peculiar to my form

To reproduce 3, make a usercontrol, set localizable = true add a button
make an inherited user control, add a button to this control - name it
button2 and save the project

Run WinRes, open usercontrol2 and save it in spanish
Close winres, restart winres and try and open up the spanish file

You get an error message when opening the saved control
Error loading the dialog. Missing ZOrder information for the form or user
control....

While I was fiddling around with this, I found another bug - If UserControl1
and UserControl2 both contain a control with the same name (e.g. button1),
winres wont open the inherited control

Your point about color got me thinking though and explains why 5 was a
problem too. I'm using the LocalizationFilter component (which I think was
some MS sample code). Im using this for a couple of reasons - Primarily to
restrict what our localizers have access to so they can't screw up something
that they are not supposed to be editting but also its rumored that Forms
start up more quickly if they dont have to suck everything out of the
resources.

Along a similar vein (and this was my problem number 5) is that WinRes
simply cannot render some components correctly because they are not simple
controls with properties. A good example is the menubar - drop a menubar on a
form, add some menus and winres cannot render it.

Now that I understand that WinRes only renders things it sees in the .resx
file, I see there is a conflict of interest between wanting to minimze the
resources that go into the .resx file and wanting to have as accurate a view
of the application in WinRes as possible. I guess the bottom line is that
with the current architecture, WinRes simply cannot render a form/control in
the same way as it appears in the application
Andrew

"Marin Millar [Microsoft]" wrote:

Quote:
I am still investigating 2 & 3. But I realized that 4 is because color is
not a localizable property, so the that information is not included in the
.resx file. Therefore, there's no way to render color changes in Winres and
it falls back to the default colors. Thanks, Marin

"Marin Millar [Microsoft]" wrote:

Yes, sorry that is another known issue with 2003. I haven't heard of the
other problems, but I will see if I can repro them here. It would be great
if you have time to report 2, 3 & 4 in the product feedback center. It
really helps to have customer reports when trying to get bugs fixed. I'm not
sure about problem 5, but if you report it to the Sandbar owners, they can
contact us if they can identify the problem and we may be able to help find a
solution. Marin

"AndrewEames" wrote:

Thanks for the response.
I am aware of the workaround you mentioned for derived forms but there are
other issues.

Just to clarify on some of the problems I have had

1) WinRes wont open derived forms which have public sub controls in the base
form. I actually reported this bug and it is apparently fixed in 2005.

The remaining issues I haven't reported nor have I made a huge effort to
track them down but you might be interested in them

2) If I open a derived control in WinRes and save it in another language,
WinRes can't open the file it just saved.

3) If I open a .resx file wihch contains a picturebox with an image, when I
save it in another language, the image is gone

4) Controls with transparent backgrounds dont appear to be rendered correctly

5) Some 3rd party controls are not rendered correctly - in particular, the
SandBar menubar control

If you are unaware of these bugs, I'd be appy to try and make a repro if
they could get fixed in 2005!

I did try the Passolo tools briefly but they too seemed to have problems
rendering some controls as well as the fact they cost an arm and a leg.

Our application is relatively small and we'd be happy to use WinRes if it
worked reliably

Anyway, thanks for replying
Andrew Eames

"Marin Millar [Microsoft]" wrote:

Winres was designed as a simple localization editor - it's not a good
solution for large scale projects. As you've noticed, there's no support for
translation memories, update management, string localization etc. It's just
a solution for people that may have very simple projects as a localization
editor.
I recommend using some of the third party localization tools available. I
haven't really reviewed any myself, but I believe that Passolo, Alchemy
Catalyst and SDL all have support for the .NET resource model. I think there
is another one as well called Visual Localize.
As for Winres, you can localize inherited forms, but the base assembly must
be installed in the GAC or in the same folder as Winres. You can find more
information about common Winres problem in this blog entry:
http://blogs.msdn.com/rprabhu/archiv.../21/56536.aspx
If you are experiencing other problems, please report them through the MSDN
Product Feedback Center at http://lab.msdn.microsoft.com/productfeedback/ .
I haven't heard of anyone losing bitmaps, so that would be something that we
should look into fixing if it can be reproduced in our environment.
Winres is somewhat improved for 2005. We tried to make it more stable and
fix the common errors that people experience, however, it's still not a full
fledged localization tool so I would still recommend a commerical translation
tool.
Hope this helps,
Marin

"AndrewEames" wrote:

I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew

Reply With Quote
  #7  
Old   
AT
 
Posts: n/a

Default RE: winres - 02-23-2005 , 09:53 PM



Quote:
Is WinRes improved in VS.NET 2005?
See http://blogs.msdn.com/rprabhu/archiv...18/375975.aspx.

--
Raghavendra (Developer, .NET Client Team)
http://blogs.msdn.com/rprabhu

This posting is provided "AS IS" with no warranties, and confers no rights.
NOTE: Please do not send mail directly to this alias.
--------------------
Quote:
Thread-Topic: winres
thread-index: AcT8HvpuhVB7wiRTSzOt7o7azjk7Mg==
X-WBNR-Posting-Host: 24.60.87.64
From: "=?Utf-8?B?QW5kcmV3RWFtZXM=?=" <AndrewEames (AT) discussions (DOT) microsoft.com
Subject: winres
Date: Sun, 16 Jan 2005 14:59:05 -0800
Lines: 9
Message-ID: <B3C5EB0E-EAC1-4501-AF9F-3C38B1F3D6A1 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.internationalization
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.internationalization:1224
X-Tomcat-NG: microsoft.public.dotnet.internationalization

I've generally had a fairly miserable time using winres for localizing forms.
It seems to be very buggy - loses bitmaps, doesn't display things correctly,
is generally miserably with inherited forms etc. etc. Do most people actually
use winres for localizing forms and if so how are they dealing with its
bugginess or are they using some other nifty tool that I am not aware of
(other than Notepad )

Is WinRes improved in VS.NET 2005?
Andrew




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.