Re: InterfaceBuilder 2.1 FAQ
Re: InterfaceBuilder 2.1 FAQ
- Subject: Re: InterfaceBuilder 2.1 FAQ
- From: Vince DeMarco <email@hidden>
- Date: Mon, 8 Oct 2001 11:29:55 -0700
On Sunday, October 7, 2001, at 06:39 am, Andreas Monitzer wrote:
On Monday, October 1, 2001, at 10:23 , Scott Herz wrote:
I have already translated my nib file and adjusted the sizes of my
widgets so the text doesn't clip. But now I have to add another widget
to the development nib. When I translate this nib again, will I loose
all of my size changes to the localized nib? How do I get the
translation to maintain the size from the old nib file?
In this example, lets say we're translating an English nib to an Italian
localization. What you need to get the file.strings and the Italian.nib
file and use nibtool to generate a newItalian nib file like this:
nibtool -d file.strings -I Italian.nib -w newItalian.nib English.nib
nibtool uses the file.strings for the translation and Italian.nib for
the size of objects. The resulting file newItalian.nib will have all of
the objects size matching Italian.nib.
Doesn't work here, the -I-option is just ignored (no error printed).
nibtool 219 on Mac OS X 10.1 5G48.
Anybody got an idea why and how I could get the functionality?
We fixed the size stuff in nibtool in an upcoming release. In the version
you have the size of things is just ignored when doing the localization.
Sorry about that.
vince