Page 1 of 1
How to disable / translate system menu (Preferences, Hide,...)
Posted: Sat Sep 07, 2024 12:25 pm
by flashbob
Is it possible to deactivate menu items such as "preferences", "about", "Hide..." etc. on Mac?
And, is there a way to display the system menu (preferences, etc.) in a different language?
Re: How to disable / translate system menu (Preferences, Hide,...)
Posted: Sat Sep 07, 2024 5:47 pm
by Shardik
flashbob wrote: Sat Sep 07, 2024 12:25 pm
And, is there a way to display the system menu (preferences, etc.) in a different language?
You may try my old
example from 2015 which demonstrates how to display a German system menu.
Beginning with MacOS 'Ventura' Apple has renamed "Preferences" to "Settings". Therefore in MacOS 'Ventura' and newer you have to change the line
Code: Select all
ElseIf Left(SubmenuTitle, 11) = "Preferences"
to
Code: Select all
ElseIf Left(SubmenuTitle, 8) = "Settings"
in order to translate "Settings" to your translated text (in German "Voreinstellungen...").
Re: How to disable / translate system menu (Preferences, Hide,...)
Posted: Sat Sep 07, 2024 6:26 pm
by flashbob
Great, thank you very much, that helps.
If we need Cocoa for something like that in PB, it's really not implemented well ...