Re: Localisation for Apple menu in tclkit-darwin-aqua?

Zbigniew Diaczyszyn <[email protected]> Thu, 11 Mar 2010 01:16:11 +0100
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
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


-- 
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