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

Re: Localization question


  • Subject: Re: Localization question
  • From: Florent Pillet <email@hidden>
  • Date: Fri, 2 Jan 2004 12:15:31 +0100

One thing you can do (hint, hint) is get your client to use PowerGlot (www.powerglot.com), which itself can export items to translate to text files and import them back to generate the localized files. This would be much less annoying than having to manually set the localized contents of each UI item in your code (this is a crazy idea!)

Florent

On 2 janv. 04, at 00:45, Michael Becker wrote:

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?

--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products for Palm OS & Mac OS X
ICQ: 117292463 http://perso.wanadoo.fr/fpillet
_______________________________________________
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: Chris Hanson <email@hidden>
References: 
 >Localization question (From: "Michael Becker" <email@hidden>)

  • Prev by Date: Code optimization
  • Next by Date: key value observing and binding
  • Previous by thread: Re: Localization question
  • Next by thread: Re: Localization question
  • Index(es):
    • Date
    • Thread