Re: modifying class initalisation
Re: modifying class initalisation
- Subject: Re: modifying class initalisation
- From: Jonathon Mah <email@hidden>
- Date: Thu, 21 Apr 2005 14:29:04 +0930
On 21 Apr 2005, at 10:31, Tommy Nordgren wrote:
Are there any way to have custom code called when Appkit classes are
inyialized
from a nib file? The idea is to have a single nib file for all
localisations, and use special
code to set any strings displayed (on a button for example) from a
localized.strings file.
In case you didn't know, you can use nibtool (command-line program) to
get a list of the strings in your nib, localize that strings file, and
run it through nibtool again to generate a nib for another language. I
don't know the commands off the top of my head, but you can 'man
nibtool' to find out.
What you're doing is also not as simple as it may first appear -
remember that words are of different lengths in different languages, so
while a button may look fine in one or two languages, another may not
have enough space for what you're trying to push into it.
Jonathon Mah
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden