iTranslated by AI
The New 'Settings' Label in macOS Ventura and Migrating from 'Preferences'
Overview
In macOS Ventura 13, the design of System Preferences has been revamped, and both the visuals and the name have been changed to "System Settings," similar to iOS and iPadOS. Along with this, "Preferences..." in the menu bar of each application has also been changed to "Settings...".[1]
I have researched some information regarding this, so I will summarize it in this document.

Development Policy
The basic policy is as follows:
- For macOS Ventura 13 and later, rewrite the term
Preference(s)toSetting(s). - The
Preferences...in the application menu is automatically rewritten toSettings...when built with macOS SDK 13.0 or later. - Notations in places other than the application menu must be handled manually.
- Localization must be handled manually.
Behavior of Rewriting “Preferences…” in the Application Menu
When you build a macOS app in an environment with Xcode 14.1 (macOS SDK 13.0), the "Preferences..." title in the application menu is automatically rewritten to "Settings...". This rewriting process runs dynamically within the application's runtime. This process is not executed for applications built with Xcode 14.0.1 or earlier.
I created a test project and verified this by setting breakpoints in areas where I had a hunch.
Exploring the Stack Trace from an NSMenuItem Subclass 1
I created a subclass of NSMenuItem and added a print() log and a breakpoint to the didSet of the title property. I then discovered that the title text was rewritten to "Settings…" immediately after the application launched. This means the application itself dynamically rewrites the name of the settings menu at startup.

It shows that oldValue is “Preferences…” and newValue is “Settings…”.
Now that I had a general idea of the mechanism, I explored "under what rules the name rewriting occurs."
Changing the Order of MainMenu and Duplicating Items
Since this test project used a Storyboard-based UI design, I modified the MainMenu in Interface Builder and built it with multiple “Preferences…” menu items. The results were as follows:


I now have a good idea. Even if there are multiple “Preferences…” items in the menu, only the first one found is subject to the title rewriting. Although I didn't prepare a screenshot, for example, placing the first “Preferences…” in the File menu also triggers the rewriting process.
Whether the menu item is checked or in a disabled state, it seems the decision for rewriting is based solely on the title.
Exploring the Stack Trace from an NSMenuItem Subclass 2
I went back from the point where I set the breakpoint and looked at what methods were being called.

// Where the breakpoint was set
0 MenuItem.title.didset
// The setter for NSMenuItem.title is being called
2 @objc MenuItem.title. setter
// The part where some MainMenu rewriting process seems to be happening inside NSApplication
3 - [NSApplication(NSMenuUpdating) _updateSettingsMenuItemIfNeeded]
4 - [NSApplication(NSMenuUpdating)_customizeMainMenu]
// Application launch completed
5 - [NSApplication finish Launching]
// Application main loop starts
7 NSApplicationMain
I omitted some parts, but immediately after the application launches, a method called _customizeMainMenu is called within NSApplication, followed by a method called _updateSettingsMenuItemIfNeeded. Immediately after that, a message reaches the title property of the NSMenuItem (subclass) where I set the breakpoint. The method _updateSettingsMenuItemIfNeeded, which clearly has a suggestive name, appears to be the true identity behind the rewriting of the settings menu title.
Stopping the Automatic Title Rewriting Process with NSMenuShouldUpdateSettingsTitle
Next, let's take a quick look at the assembly code on the right.

Repost
It's full of code I don't really understand, but there's a part that's quite readable. The most interesting part is the section written as @"NSMenuShouldUpdateSettingsTitle". Since @"" is an Objective-C string, it seems some evaluation is being performed internally using this string. And the name itself can be interpreted as something like "Whether NSMenu should update the Settings title," so I suspect this acts as some kind of flag.
When I saw this, I had a feeling that NSMenuShouldUpdateSettingsTitle might be something whose Boolean value could be specified using the defaults command, and this turned out to be correct. I found the following web resource through Google, which mentions that the defaults command could be executed.
defaults write -g NSMenuShouldUpdateSettingsTitle -bool NO
Since -g specifies the Global Domain, setting this to something like a Bundle Identifier would likely allow setting the rewrite prevention as a launch variable for a specific application only.[2]
Since the defaults command can be executed, I thought the same could probably be achieved by specifying "Launch Arguments" from the Xcode Scheme, and I tried it, which also worked.

Add a field in the "Arguments Passed On Launch" section and set the content to -NSMenuShouldUpdateSettingsTitle NO. By running the application this way, you can stop the settings menu name from being rewritten, even when compiling with Xcode 14.1 or later.
I'm not sure what to make of this, but it was interesting to uncover the inner workings of the OS that aren't in the documentation. While it might not have much practical use, it doesn't hurt to have this knowledge for debugging purposes.
Localization Policy
Localized text is not automatically rewritten, so handle it using the conventional method.
If you are using NSLocalizedString() with the MainMenu title as the key, and your Localizable.strings contains an entry like "Preferences…" = "環境設定…";, you should be able to simply keep that as it is and add a new entry: "Settings…" = "設定…";. If you are localizing Main.storyboard directly using .strings, you might need to be a bit more creative.
One point to note is the case where the application supports both macOS Monterey 12.x and earlier, as well as macOS Ventura 13.0 and later. In this case, you must ensure it remains “Preferences…” (環境設定…) when the runtime environment is 12.x, and changes to “Settings…” (設定…) for 13.0 and later. This is the reason I mentioned "keeping "Preferences…" = "環境設定…"; and adding "Settings…" = "設定…";."
When debugging, be conscious of the differences in terminology between OS versions and make sure to support both.
Summary
- Design up to macOS Monterey: “Preferences…” (環境設定…)
- Design from macOS Ventura: “Settings…” (設定…)
- To support Ventura, build with Xcode 14.1 (macOS SDK 13.0) or later.
- The title of the target item in MainMenu is automatically rewritten to “Settings…” upon application launch.
- Rewriting can be disabled with
NSMenuShouldUpdateSettingsTitle = NO.
- Localization and other areas must be handled manually.
-
Mentioned in WWDC22: 10074 - What's new in AppKit
↩︎ -
Although doing so would not be very practical. ↩︎
Discussion