Re: Localization for nibs

2012-02-23 Thread Gary L. Wade
What I've done that works for pre-Lion sizing and works for practically all needs for a single NIB is to do this: 1. Devise a specially-designed key path that tells me the following: A. A tag that identifies it's my localized format B. String key C. The string table name (if empty, fall b

Re: Localization for nibs

2012-02-23 Thread Ulf Dunkel
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 ad

Re: Localization for nibs

2012-02-22 Thread Jerry Krinock
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. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Localization for nibs

2012-02-19 Thread Giacomo Tufano
I have single NIBs but I have the labels "reloaded" on DidLoad from NSLocalizedString. You still have to try every localization for text width and appareance but I find it somewhat less time consuming that having different NIBs (and reflect any change on an element in a NIB to all the localized

Re: Localization for nibs

2012-02-18 Thread Stephane Sudre
On Thu, Feb 16, 2012 at 4:37 AM, Satyanarayana Chebrolu wrote: > Hi, > currently my application supports only English. In the future versions we > would like to have it in around 15 languages. > > What is the best practice for having localized nibs. > > 1) Common approach, different nibs for diff