Re: Localization for nibs
Re: Localization for nibs
- Subject: Re: Localization for nibs
- From: Ulf Dunkel <email@hidden>
- Date: Thu, 23 Feb 2012 16:24:39 +0100
- Organization: invers Software & DSD.net
I believe that the "single nib" approach has been made more viable by Auto Layout in Lion, and expect to see more developers using "single nib" in the future.
When Auto Layout will auto-adjust the size of text containing objects in
each and every NIB by giving us some smart controls how the adjustments
should work, then the single NIB approach could be nice.
Removing the quantity of NIB files in the deployed app bundle could also
add to the minimization of app weights.
Until then, we still prefer having separate localized NIBs, but with the
One For All NIB layout method, where the English (or say your Base
language) NIB objects are adjusted to the minimum size which is required
by the longest text in one of the available languages.
A while ago, I have written a web page which explains how to optimize
NIB layouts for localization.
http://www.icalamus.net/ioda/howto_niblayout.php?lan=en
And - oh, adjusting NIBs in multiple languages from a changed base
language NIB layout is a piece of cake, using iLocalize.
Just my 2 cents,
---Ulf Dunkel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden