These days I find myself having less and less time booting into Linux due to $WORK reasons, and having Lokalize on macOS would be a great help to keep my translation workflow intact. I would also love to test and report issues! I tried PoEdit on macOS, but it is really limiting compared to Lokalize, so I’d love to be able to use it on macOS as well.
You can find nightly builds at https://cdn.kde.org/ci-builds/sdk/lokalize/master/ that's the most we're going to do at this point but should possibly work for you
Thanks for the prompt build! However I could not get it to launch, even with removing the quarantine on the bundle. Anyone can confirm?
Here’s the log output: saptanmış 01:01:05.511504+0300 lokalize [0x600003eec000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon saptanmış 01:01:05.511630+0300 lokalize [0x600003eec0f0] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent saptanmış 01:01:05.602456+0300 lokalize [0x600003eec4b0] activating connection: mach=true listener=false peer=false name=com.apple.distributed_notifications@Uv3 saptanmış 01:01:05.609277+0300 lokalize [0x600003eec780] activating connection: mach=true listener=false peer=false name=com.apple.tccd.system saptanmış 01:01:05.614733+0300 lokalize [0x600003eec780] invalidated after the last release of the connection object saptanmış 01:01:05.615026+0300 lokalize server port 0x00003f07, session port 0x00003f07 saptanmış 01:01:05.625850+0300 lokalize [0x600003ef0000] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.launchservicesd saptanmış 01:01:05.626607+0300 lokalize [0x600003ee00f0] activating connection: mach=true listener=false peer=false name=com.apple.analyticsd saptanmış 01:01:05.627635+0300 lokalize Received configuration update from daemon (initial) saptanmış 01:01:05.628968+0300 lokalize New connection 0x1ae00f main saptanmış 01:01:05.629228+0300 lokalize Current system appearance, (HLTB: 2), (SLS: 1) saptanmış 01:01:05.629971+0300 lokalize Current system appearance, (HLTB: 2), (SLS: 1) saptanmış 01:01:05.630997+0300 lokalize Post-registration system appearance: (HLTB: 2) saptanmış 01:01:05.633706+0300 lokalize [0x600003ee4000] activating connection: mach=true listener=false peer=false name=com.apple.pasteboard.1 saptanmış 01:01:05.644304+0300 lokalize [0x7f88f53099c0] activating connection: mach=true listener=false peer=false name=com.apple.lsd.mapdb saptanmış 01:01:05.672496+0300 lokalize void _NSDisableAutomaticTerminationAndLog(NSString *) No windows open yet saptanmış 01:01:05.675661+0300 lokalize CHECKIN: pid=3129 saptanmış 01:01:05.682876+0300 lokalize CHECKEDIN: pid=3129 asn=0x0-0x1802801 foreground=1 saptanmış 01:01:05.683310+0300 lokalize [0x7f88f5504760] activating connection: mach=false listener=true peer=false name=(anonymous) saptanmış 01:01:05.683340+0300 lokalize [0x7f88f5504760] Channel could not return listener port. saptanmış 01:01:05.699249+0300 lokalize FRONTLOGGING: version 1 saptanmış 01:01:05.699507+0300 lokalize Registered, pid=3129 ASN=0x0,0x1802801 saptanmış 01:01:05.691998+0300 lokalize [0x7f88f5704190] activating connection: mach=false listener=false peer=true name=com.apple.xpc.anonymous.0x7f88f5504760.peer[157].0x7f88f5704190 saptanmış 01:01:05.713160+0300 lokalize [0x7f88f5504760] Channel could not return listener port. saptanmış 01:01:05.717830+0300 lokalize BringForward: pid=3129 asn=0x0-0x1802801 bringForward=1 foreground=1 uiElement=0 launchedByLS=1 modifiersCount=1 allDisabled=0 saptanmış 01:01:05.717892+0300 lokalize BringFrontModifier: pid=3129 asn=0x0-0x1802801 Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0 saptanmış 01:01:05.718048+0300 lokalize BringForward: pid=3129 asn=0x0-0x1802801 saptanmış 01:01:05.718163+0300 lokalize SetFrontProcess: asn=0x0-0x1802801 options=0 saptanmış 01:01:05.761460+0300 lokalize [0x7f88f5504760] Channel could not return listener port. saptanmış 01:01:05.772341+0300 lokalize [0x7f88f5504760] Channel could not return listener port. saptanmış 01:01:05.808943+0300 lokalize NSApp cache appearance: -NSRequiresAquaSystemAppearance: 0 -appearance: (null) -effectiveAppearance: <NSCompositeAppearance: 0x6000033ec6c0 ( "<NSDarkAquaAppearance: 0x6000033ec510>", "<NSDarkAquaAppearance: 0x6000033ec5a0>", "<NSSystemAppearance: 0x6000033f41b0>" )> saptanmış 01:01:05.832848+0300 lokalize [0x7f88f530ad90] activating connection: mach=false listener=false peer=false name=com.apple.carboncore.csnameddata saptanmış 01:01:05.854053+0300 lokalize [0x600003df1300] activating connection: mach=true listener=false peer=false name=com.apple.fonts hata 01:01:06.026988+0300 lokalize DBus session bus not found. To circumvent this problem try the following command (with bash): export $(dbus-launch) hata 01:01:06.027067+0300 lokalize kf.dbusaddons: DBus session bus not found. To circumvent this problem try the following command (with bash): export $(dbus-launch) saptanmış 01:01:06.028466+0300 lokalize Entering exit handler. saptanmış 01:01:06.028512+0300 lokalize Queueing exit procedure onto XPC queue. Any further messages sent will be discarded. activeSendTransactions=0 saptanmış 01:01:06.028619+0300 lokalize Cancelling XPC connection. Any further reply handler invocations will not retry messages saptanmış 01:01:06.028637+0300 lokalize [0x600003ee00f0] invalidated because the current process cancelled the connection by calling xpc_connection_cancel() saptanmış 01:01:06.028670+0300 lokalize Exiting exit handler. saptanmış 01:01:06.028707+0300 lokalize XPC connection invalidated (daemon unloaded/disabled)
Right, probably need to disable dbus stuff on Mac.
Is there an example where I can see how to do that? I can try to do it.
Both Okular and kate have cmake code (and lots of ifdefs) to only enable dbus on Linux/FreeBSD, you can take that as inspiration.
Looks like disabling DBus for Lokalize is no trivial task, most of the application functionality depends on it. Shall I reopen this or open a new issue for it?
https://invent.kde.org/sdk/lokalize/-/merge_requests/224
Update: As of today Lokalize starts, but the application functionality is still a no-go. Not able to open any files or projects, no response on buttons.
Git commit 597390beabb9ed450df6f01512b4b0c6732faa62 by Albert Astals Cid. Committed on 03/05/2025 at 20:24. Pushed by aacid into branch 'master'. macos: Fix open file not opening a dialog M +10 -0 src/CMakeLists.txt https://invent.kde.org/sdk/lokalize/-/commit/597390beabb9ed450df6f01512b4b0c6732faa62