Re: Re: Localisation for Apple menu in tclkit-darwin-aqua?
Pat Thoyts <[email protected]> Thu, 11 Mar 2010 00:28:03 +0000
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
On 11 March 2010 00:16, Zbigniew Diaczyszyn <[email protected]> wrote: > Pat Thoyts schrieb: > >> It is up to you to make the menus use msgcat. > > Well, I did it and in Linux and Windows treatment with msgcat is sufficient. > But Mac OSX is adding an Apple specific menu to the personal application > which indeed can be controlled by adding the procedures > > proc tkAboutDialog > proc ::tk::mac::ShowPreferences > proc tk::mac::ShowHelp {} { > > but the entries themselves appear in English and I don't know where is the > hook to add the localization. I should now about how tclkit-darwin-aqua is > preparing an application for this system dependent behavior. It is adding > for example "About Tcl/Tk". > >> The systems locale is read on startup and msgcat::mclocale should >> already be set to a suitable value (ie: de_de for a German system I >> think.) > > Ok, and in this way I am getting German menu entries, but I think tclkit is > generating the apple entries without looking in the system's locale: The > Finder shows German entries, my Tk application, too, it is just this special > part of the menubar. > > Zbigniew Diaczyszyn Ah ok - you probably should ask about this on the tcl-mac mailing list where you are more likely to hit some other mac users. Or comp.lang.tcl newsgroup. -- You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en