• 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
localizedStringForKey:value:table: changed in 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

localizedStringForKey:value:table: changed in 10.2?


  • Subject: localizedStringForKey:value:table: changed in 10.2?
  • From: Eric Cole <email@hidden>
  • Date: Mon, 9 Sep 2002 09:16:17 -0700

I use localizedStringForKey to localize my preference pane. It worked in 10.1.x but fails in 10.2. The documentation does not list any changes beyond a new macro. What else has changed that might break it?

I do not use any of the macros. I iterate through all the items in the preference view and localize them instead of using a localized nib for each language. I either get the key string or, if not nil, the value string but never the localized string.

I renamed Localizable.strings to Ittec.strings and used table values of "Ittec" and "Ittec.strings" but a custom table name made no difference.

A quick comment on localization in general. It is much easier to localize a text file than a nib file. It would be really nice if InterfaceBuilder had some support for localization built in. At the least, it would be nice to have import and export of all strings, and a way to import the localized strings at runtime. Since this was not available, I did it myself by loading the text from each item in the view and localizing it, but this seems like something that the system should support for simple case localizing.

Any suggestion welcome. Please cc me directly.

Thanks
Eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: localizedStringForKey:value:table: changed in 10.2?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Improving very slow NSView with cached NSImage
  • Next by Date: Re: Notifications of undoManager
  • Previous by thread: PDF PageFormat/DocumentFormat
  • Next by thread: Re: localizedStringForKey:value:table: changed in 10.2?
  • Index(es):
    • Date
    • Thread