Re: Search Item in the Application menu missing in Other languages
Re: Search Item in the Application menu missing in Other languages
- Subject: Re: Search Item in the Application menu missing in Other languages
- From: Peter Ammon <email@hidden>
- Date: Mon, 27 Jul 2009 12:34:19 -0700
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 <email@hidden> 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 (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