Repository navigation
Automatic Chinese / English interface
Internet Archive Uploader now selects its interface language from the operating system's preferred language when it starts.
- Chinese (
zh, including Simplified and Traditional Chinese locales): Simplified Chinese text. - English and other locales: English text.
- macOS reads the first preferred AppleLanguages entry; Windows uses the user UI language; Linux uses locale environment variables.
- Desktop labels, window title, upload progress, authentication errors and CLI help share the same language setting.
- Optional overrides:
--lang auto|zh|enfor the CLI, orIA_UPLOADER_LANG=zh/enfor either executable. Explicit CLI flags take precedence. - The macOS app bundle now includes localized display names and the DMG includes English and Chinese installation instructions.
Restart the application after changing the operating system language. Existing upload, retry, proxy and credential behavior is unchanged.
Install
Download Internet-Archive-Uploader-0.1.2-macOS-arm64.dmg and drag the app into Applications, replacing the previous version after closing it. This release is for Apple Silicon Mac, uses an ad-hoc signature, and is not Apple-notarized.
shasum -a 256 -c Internet-Archive-Uploader-0.1.2-macOS-arm64.dmg.sha256Validation
20 automated tests passed, including locale parsing, bilingual GUI rendering, CLI subprocess help/error output, explicit override precedence, and upload/proxy regressions. Clippy and formatting checks passed. macOS is the tested platform; Windows and Linux language detection paths have not been runtime-tested.
中英文自动切换
桌面界面和命令行默认跟随操作系统首选语言:中文环境显示简体中文,其他环境显示英文。窗口标题、界面文案、上传进度、认证错误及命令行帮助均支持两种语言;修改系统语言后重启软件即可。
命令行可通过 --lang auto|zh|en 覆盖,两个入口均支持 IA_UPLOADER_LANG=zh/en。安装包保留现有 Logo,并包含中英文安装说明。