• 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
Localization question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localization question


  • Subject: Localization question
  • From: "Michael Becker" <email@hidden>
  • Date: Fri, 2 Jan 2004 00:45:14 +0100

Hi everybody!

My client insists on being able to handle all localization via ASCII-files.
Of course, using NSLocalizedString suits this very well. Furthermore, I
created outlets for each and every GUI-element to set these values in the
awakeFromNib: method, again using NSLocalizedString.

My problem now is the Application Menu. When in awakeFromNib: I say [[
myMenu itemAtIndex:1] setTitle:@"Foo"]; it obviously sets the title, but it
seems like I need to perform a redisplay or something, as the "Foo" doesn't
appear in the menu. I didn't find any redisplay-like method, though...

The general question is: Is there a better way to do this?

Bye,
Michael
_______________________________________________
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: Localization question
      • From: Florent Pillet <email@hidden>
    • Re: Localization question
      • From: mmalcolm crawford <email@hidden>
    • Re: Localization question
      • From: Clark Cox <email@hidden>
  • Prev by Date: More NSSearchField menu questions
  • Next by Date: KVO/KVC compliance, signature for -validate<Key>: error:
  • Previous by thread: Re: More NSSearchField menu questions
  • Next by thread: Re: Localization question
  • Index(es):
    • Date
    • Thread