What's new:
Multilingual UI (#16)
The app now supports multiple languages via TOML files in the i18n/ folder.
Built-in languages: English (en-US), 简体中文 (zh-CN), 繁體中文 (zh-TW), Čeština (cs-CZ), Deutsch (de-DE)
How to change language: Settings → Language → pick from the dropdown. You can add custom .toml files to the i18n/ folder (open via the folder icon in Settings).
Default language for new installs: en-US (see settings.example.json).
Fixes:
- Settings window title updates immediately when switching language
- REL (relative value) button on the main screen updates without app restart
Other:
- README: language setting, install/run instructions
- Source comments in
gui/,ble/, andcore/translated to English
Installation for end users (Windows):
-
From
Assetsbelow, download and extract theDM40-Wireless-win64.zipto any folder (e.g.C:\Apps\DM40 Wireless\) -
Run
DM40 Wireless.exeThe first time you run the application, you will probably be prompted to allow it in the Windows SmartScreen window. DM40 Wireless does not have a registered publisher in Windows (paid registration), the application is an open source project.
-
On first launch, the Connect screen appears — search for your meter, select it in the list, and click Connect. The MAC address is saved to
settings.jsonnext to the exe, on the next launch the app connects automatically.The distribution package is the full
dist\DM40 Wirelessbuild folder (exe + libraries). Do not move the.exealone — it must stay next to the _internal folder and images.Instead, you can create a desktop shortcut from the
DM40 Wireless.exefile.
Upgrade:
- Back up your
settings.jsonif you customized it. - Download the new
DM40-Wireless-win64.zipAssets (or download the latestmainfile and run it from source). - Optional: set
"language": "en-US"(orcs-CZ,de-DE, …) insettings.json.
Credits:
Thank you @cnpxs1 for the original i18n fork, testing, and bug reports.
Full changelog: compare v1.0.0...v1.1.0