• 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
Bindings and localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings and localization


  • Subject: Bindings and localization
  • From: Larry Gerndt <email@hidden>
  • Date: Thu, 11 Nov 2004 10:47:32 -0800

Title: Bindings and localization
My understanding of localization for Cocoa apps is that it is expected that you will have to localize your resources as well as your localizable.strings files.  In my Carbon/PowerPlant applications, I devised a way that the resources got programmatically set to their localized values, so that the process of the localization was solely a matter of translating the localizable.strings file.

Has anyone thought of a way to use bindings to localize resources automatically?  If there is no way, would this be a good enhancement request?  For example, currently the bindings allow you to bind to either:
    File's Owner
    Shared User Defaults
    Shared Application
Would it make sense to provide a fourth binding called "Localized Strings", such that an object so bound would retrieve its text value automatically by keying into Localizable.string using the english value as the key?  This would, however, presuppose a convention that your localizable.strings file uses the actual english string as the keys, something which is not now a requirement, nor even necessarily suggested.
--
Larry Gerndt
AIM Handle: SonOfTheSonOfMan
Let the truth be told though the heavens fall -- James Garrison
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bindings and localization
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: CGPostKeyboardEvent strangeness
  • Next by Date: Re: Launching System Prefs
  • Previous by thread: Re: Cocoa-dev Digest, Vol 1, Issue 262
  • Next by thread: Re: Bindings and localization
  • Index(es):
    • Date
    • Thread