For #5. The apps follow the system's language: on a Mac, iPhone or iPad
set to Simplified Chinese they are in Chinese, and set to anything else
in English, as before.
The strings are in a catalog of the apps, Apps/Shared/Localizable.xcstrings,
because the interface and the package's code look them up in the app.
Its 781 entries are what the compiler extracts from the apps,
OpenScreensUI and OpenScreensCore, built for macOS and for the iOS
Simulator, merged with xcstringstool sync, and each has its Chinese.
Beside it, AppShortcuts.xcstrings has the phrases for Siri and
Shortcuts, and an InfoPlist.xcstrings beside each Info.plist the reasons
the system gives when the app asks for the local network and Face ID.
The Chinese uses the words Apple's own apps use for the same things:
屏幕共享, 远程登录, 帐幕模式, 资料库, 群组, 个人收藏, 钥匙串, 面容ID,
触控ID, 调度中心, 聚焦. As Apple writes it, there is no space between
Chinese and Latin text; the system spaces them when it draws them. As
#5 asks, OpenScreens, VNC, SSH, SFTP, Tailscale and the three modes,
High Performance, Standard and Full Quality, stay in English, and so do
Mac, iPhone, iPad, Bonjour, Raspberry Pi and the names printed on keys.
With a Chinese localization in the app, the engine's own Chinese, which
it has had all along, is shown too.
project.yml needs nothing: the catalogs are in folders the targets
already take their files from. The Xcode project has what XcodeGen
2.49.0 generates for them and nothing else; it would also have moved
the version stamps of the project and its schemes, which are left as
they were. The empty catalog in OpenScreensUI's resources, which nothing
looked in, is gone.
Both apps were built. The Mac app and the iPhone app carry zh-Hans.lproj
with these strings, and the engine's bundle its own. Given an order of
languages, the system chooses Chinese for someone who puts Simplified
Chinese first, and English for English, Traditional Chinese and the
languages there is no translation for. The iPhone app was looked at in
Chinese on the iPhone 18 Pro Simulator (iOS 27.2): the library and its
sections, the sidebar, a computer's menu, Quick Connect, adding and
editing a computer, every pane of Settings, the shortcut editor, a
session with its toolbar menus, statistics, Type Text and connection
settings, the sign-in card, a rejected password, a refused connection
and the progress of a slow one. The Mac app was not run in Chinese.
The Mac app looks at the project's releases on GitHub when it is first
opened and once a day after that, and when there is a newer one says so
at the top of the library, with what is in it. One choice there
downloads it, has it checked, installs it and opens the app again.
Settings has a pane for it, and the app menu has Check for Updates.
Sparkle does what must not be got wrong: reading the feed, downloading,
checking the signatures, putting the app in place. The feed has to be
signed with the project's key and so does the download, which is checked
before it is unpacked. None of what is shown is Sparkle's. It hands each
step to an UpdateModel, which knows nothing of Sparkle and holds the
rules:
- What the user asked about is shown at once. What was found in the
background is shown at once only when no session is open; beside a
session it waits in the notice.
- An update that was chosen is installed when it is ready, without a
second question, unless a session has been opened in the meantime.
- The sheet is closed before the app is asked to quit. An app with a
sheet up does not quit when the system asks it to, which is how
Sparkle asks: tried with the update's own sheet up, the app stayed
where it was with the update unpacked beside it, and installed it only
when it was quit by hand. Should the app still be running a moment
after it was asked, it is asked again with any sheet out of the way,
and after that the notice says to quit it.
- A check that is asked for while Sparkle is in the middle of one of its
own is not dropped, as Sparkle would drop it: the user sees that the
app is looking, and Sparkle is asked when it can be.
On every platform the first launch after an update says what changed,
from a copy of the change log that the app carries.
scripts/sync-changelog.sh makes the copy, and a test fails while it is
stale.
Two environment variables are there for trying an update out: one names
another feed to read, the other has the app answer for itself. Neither
gets anything installed that the app would not have taken anyway, since
the feed and the download still have to be signed with the key the app
trusts.
Without the entitlement the sync engine can only ever report that iCloud
is unavailable.
Wake-on-LAN is a broadcast on the local network. iOS lets an app send one
only with the multicast entitlement, which Apple grants case by case, so
the action is offered on the Mac alone rather than failing silently on
iPhone and iPad. The address is still kept and synced there.
A UIKit remote canvas with touch and trackpad pointer modes, two-finger
scrolling with momentum, pinch zoom, Apple Pencil, mouse and trackpad
support, hardware and on-screen keyboards with a key bar, and a locally
drawn pointer.
The session screen floats its controls on glass above the remote screen
and adds a trackpad deck that takes the lower half on a foldable held
half open.
Also: deep links, App Intents for Shortcuts, Siri and Spotlight, a Type
Text sheet, a Mac menu bar item, an isolated data directory for
development runs, and debug sample data.
OpenScreensCore holds the model: saved computers and groups, per-computer
connection settings, the on-disk library with merge-friendly records,
keychain-backed credentials, key and shortcut tables, and the viewport
maths shared by both platforms.
OpenScreensUI adds the session controller on top of the engine, the
AppKit remote canvas with pointer, scroll, zoom and keyboard handling,
and the SwiftUI interface: library, computer editor, quick connect,
session window with toolbar and menu commands, and settings.
The Mac app target is a thin shell around the package.