Re: Localizing Xibs using bindings
Re: Localizing Xibs using bindings
- Subject: Re: Localizing Xibs using bindings
- From: Andrew Farmer <email@hidden>
- Date: Mon, 7 Dec 2009 08:28:50 -0800
On 5 Dec 2009, at 10:05, Rossi Matteo wrote:
> I find it very annoying to localize Xibs by keeping a copy for each translation. It's both tedious and error-prone.
> I've found that by simply binding each button's title (or wharever other control you need) to the appropriate key of a NSDictionary object I can easily localize each item.
> No need to create tons of outlets for each control. Indeed I have no outlet at all. It works smoothly and I can send only .strings files to my translators.
> Since I haven't found no article on this solution, I was wondering if it's wrong or which problems may arise.
> Obvously I take care to keep control sizes large enough to host each translation.
Among other issues, it will make your application look backwards in RTL languages._______________________________________________
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