Localizing Xibs using bindings
Localizing Xibs using bindings
- Subject: Localizing Xibs using bindings
- From: Rossi Matteo <email@hidden>
- Date: Sat, 5 Dec 2009 19:05:08 +0100
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.
_______________________________________________
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