• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: modifying class initalisation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >modifying class initalisation (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: RE: Category or Protocol? (sidetrack)
  • Next by Date: Re: Category or Protocol? (sidetrack)
  • Previous by thread: modifying class initalisation
  • Next by thread: Simple locking/memory management question
  • Index(es):
    • Date
    • Thread