Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-10

Carbon: Application menu

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

EarMaster - Bent Olsen

Hi all,

When you compile and run Carbon applications on a Mac you'll get an application menu up in the top left with some default menu items, but the items do always appear in English, and we can't change those.

The application menu appear nice in applications like Safari and others, and in a language chosen by user. We support a number of languages, and we like to have the application menu to reflect a current language.

What is the best approach? And are there any plans to support more languages for system specific menus attached to an application? Or how does the application menu get initialized in Carbon applications?

Best regards,

Normann

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081028/e029e304/attachment.html

Reply by email

Tom Gregorovic
to EarMaster - Bent Olsen

2008/10/28 EarMaster - Bent Olsen :

Show quoted text 22 lines
Hi all, When you compile and run Carbon applications on a Mac you'll get an application menu up in the top left with some default menu items, but the items do always appear in English, and we can't change those. The application menu appear nice in applications like Safari and others, and in a language chosen by user. We support a number of languages, and we like to have the application menu to reflect a current language. What is the best approach? And are there any plans to support more languages for system specific menus attached to an application? Or how does the application menu get initialized in Carbon applications?

This is not managed by Lazarus. I think, you can control it via Info.plist file in your app bundle, see
http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-130430.

Tom Gregorovic

Reply by email