Re: Localization for nibs
Re: Localization for nibs
- Subject: Re: Localization for nibs
- From: Giacomo Tufano <email@hidden>
- Date: Sun, 19 Feb 2012 09:44:50 +0100
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 NIBs).
Keep in mind that I localize only in Western Europe languages (and not more than 5), I don't think this method will be easily adapted to glyphs/languages that requires different layouts. Nobody stops you in using different NIBS for languages that requires different layouts and use "label localization" for similar ones though.
Rgds,
gt
Il giorno 16/feb/2012, alle ore 13:37, Satyanarayana Chebrolu ha scritto:
> 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 different languages.
> +ve, straight forward.
> -ve, Time consuming and maintenance effort.
> 2) By using Auto layout feature.
> +ve, available only in Lion
> -ve, not in Leopard and Snow Leopard
>
>
> Appreciate your thoughts, inputs, or any.
_______________________________________________
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