Menu

552 locale folders in our Mac app, 55 of them empty, and our own UI has one language
📰

552 locale folders in our Mac app, 55 of them empty, and our own UI has one language

DEV Community: node·Daniel Pertu·19 days ago
#BAChIkiu
#devtonodejs#devto#dev#lproj#chromium
Long article (1025 words) — no AI summary yet.
Reading 0:00
15s threshold

Notifio is a desktop app that watches a rental search page and tells you when a new listing appears. It is Electron, it ships as two Mac DMGs and a Windows installer from the download page , and every string in its interface is an English literal sitting in the component that renders it.

Earlier this month I counted the Info.plist keys in the packaged bundle and found that two thirds of what macOS knows about our app was written by Electron, not by us. This is the same question asked about languages, because a .lproj directory is how a Mac bundle declares one.

I ran the census on the arm64 build:

cd release/mac-arm64/Notifio.app find . -name "*.lproj" -type d | wc -l

Enter fullscreen mode

Exit fullscreen mode

552

Enter fullscreen mode

Exit fullscreen mode

Five hundred and fifty two localization directories, in an app with no translation layer in it at all.

Where they are

find .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.