• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Localizing Xibs using bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Localizing Xibs using bindings
      • From: Duccio <email@hidden>
    • Re: Localizing Xibs using bindings
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: SSH in my application
  • Next by Date: Re: Draw rounded NSImage
  • Previous by thread: Re: SSH in my application
  • Next by thread: Re: Localizing Xibs using bindings
  • Index(es):
    • Date
    • Thread