Arun, my advice is the same. To identify which menu (if any) should get the Search field, AppKit examines the actions of the items in that menu. If a menu contains an item with the showHelp: action, then AppKit concludes that menu is the Help menu, and it will get the Search field.

-Peter

On Jul 27, 2009, at 9:54 AM, Arun wrote:

Hi  Peter,

selector(showHelp:) is the default action that gets called when we click on the Help -> showHelp option.
Looks like you did not undersatnd the question correctly.
The Hep menu in english contains a Search menu item in English. If you change the Operating System language, Search menu item disappears. Is there any way in which we can get the Search menu item under Help Menu in all the languages?

Thanks
Arun KA




On Sat, Jul 25, 2009 at 4:33 AM, Peter Ammon <pam...@apple.com> wrote:

On Jul 24, 2009, at 11:22 AM, Arun wrote:

Hi All,

I have a cocoa application which is localized in multiple languages.
My application uses default Menu's like File, Edit, View, etc.,
When the language is set to English in the System Preferences ->
International -> languages, Under the Help menu there is an item called
"Search".
But if the language is changed to french, German or Japanese and application
is launched, the same "Search" item under Help menu is missing.
Is there anything that is missing or not configured in my application for
which my application is behaving like this?

Thanks
Arun

Hi Arun,

Leopard has some heuristics for determining which menu is the Help menu. The simplest way to make sure it gets identified correctly in all languages is to include a menu item with the default Help action, which is @selector(showHelp:).

Hope this, well, helps,
-Peter


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to