• 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: [NEWBIE] How to localize toolbar button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NEWBIE] How to localize toolbar button?


  • Subject: Re: [NEWBIE] How to localize toolbar button?
  • From: Clark Cox <email@hidden>
  • Date: Mon, 11 Oct 2004 22:10:39 -0400

On Tue, 12 Oct 2004 03:43:03 +0200, Kristofer Szymanski
<email@hidden> wrote:
>
> Hello,
>
> I am trying to localize my application and I wonder how can I set the
> name of the button to a name specified in Localized.strings file:
>
> /* Swedish - the preferences button. */
> "Button01" = "Programinställningar";
>
> right now I am using:
>
> [item setLabel:@"Preferences"];
>
> to specify the name of the button.

Change that to:

[item setLabel: NSLocalizedString(@"Button01",@"")];


--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
_______________________________________________
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: [NEWBIE] How to localize toolbar button?
      • From: Kristofer Szymanski <email@hidden>
References: 
 >[NEWBIE] How to localize toolbar button? (From: Kristofer Szymanski <email@hidden>)

  • Prev by Date: Re: Is there a way of using key paths with NSUserDefaults?
  • Next by Date: Re: New Document Behavior
  • Previous by thread: [NEWBIE] How to localize toolbar button?
  • Next by thread: Re: [NEWBIE] How to localize toolbar button?
  • Index(es):
    • Date
    • Thread