macoslocalizationnssavepanel

How to customize the "Cancel" button title in NSSavePanel?


I can use the -setPrompt: method to customize the OK button. But I found no method to customize the Cancel one. Can I achieve this?


Solution

  • Looks like there is no built-in way to replace this string. Out of curiosity, why do you want to? It should be displayed in the relevant language without your intervention, as with all other system-provided UI elements.