• 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
Edit menu localisation, default application menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Edit menu localisation, default application menu


  • Subject: Edit menu localisation, default application menu
  • From: Aandi Inston <email@hidden>
  • Date: Sat, 11 Jul 2015 08:39:54 +0100

It turns out, and I'm sure this will surprise nobody but me, that for the
copy/paste/cut keyboard commands to work in Cocoa my app needs to have a
suitable Edit menu with copy/paste/cut menu items and keyboard equivalents.
My question is about localisation. The app is localised via its own string
files. Clearly I can add Edit/Copy/Cut/Paste to the strings for
translation.

But is there a better way to display a suitable Edit menu and use the
locale standard translation for these names?

Related: I observe that, even if I replace the [application mainMenu], that
the menu which is then displayed has fixed, and localised, entries under
the app name. That the title of the first menu is ignored and the contents
merged with the standard ones. Old news I'm sure, but I can't find where
this behaviour is documented, and what surprises it may have. Sometimes a
"quit and leave Windows" or similar item appears, for instance. Can anyone
point out what I should be reading?

Thanks in advance.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Edit menu localisation, default application menu
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: PSA: floor(NSFoundationVersionNumber) doesn't work with Yosemite or later
  • Next by Date: Re: Edit menu localisation, default application menu
  • Previous by thread: Re: PSA: floor(NSFoundationVersionNumber) doesn't work with Yosemite or later
  • Next by thread: Re: Edit menu localisation, default application menu
  • Index(es):
    • Date
    • Thread