Skip to content

feat(ui): add Chinese localization support with i18n framework#114

Open
maxadc wants to merge 3 commits into
Adembc:mainfrom
maxadc:feat/i18n-chinese-support
Open

feat(ui): add Chinese localization support with i18n framework#114
maxadc wants to merge 3 commits into
Adembc:mainfrom
maxadc:feat/i18n-chinese-support

Conversation

@maxadc
Copy link
Copy Markdown

@maxadc maxadc commented May 19, 2026

  • Add i18n framework with LAZYSSH_LANG env var support
  • Add build.sh with -l/--lang flag for compile-time language selection
  • Add AES-GCM encrypted password storage for SSH connections
  • Add AuthMethod dropdown (key/password/key+password) in Basic tab
  • Support zh-CN language with full translation
  • Normalize language input case-insensitively (zh-cn, ZH-CN, cn, etc.)
  • Add field name translations in server details and form help panel

ant added 3 commits May 19, 2026 21:00
- Add i18n framework with LAZYSSH_LANG env var support
- Add build.sh with -l/--lang flag for compile-time language selection
- Add AES-GCM encrypted password storage for SSH connections
- Add AuthMethod dropdown (key/password/key+password) in Basic tab
- Support zh-CN language with full translation
- Normalize language input case-insensitively (zh-cn, ZH-CN, cn, etc.)
- Add field name translations in server details and form help panel
- Add ExportServers/ImportServers to repository and service
- Fix path expansion for ~/ in export/import (use HasPrefix instead of IsAbs)
- Add keyboard shortcuts E/I for export/import
- Add i18n translations for export/import functionality
- Fix Tab labels to use i18n translations
- Fix Help panel title and content formatting to use i18n
- Fix modal buttons and validation error messages to use i18n
- Add language suffix to build output filenames (lazyssh-zh-CN)
- Add helper functions for tab name and abbrev translations
- Add Password field to ServerFormData struct
- Add AuthMethod dropdown (密钥/密码/密钥+密码)
- Add LoginMode dropdown (交互式/批处理/自动)
- Load password from sf.original.Password for edit mode
@maxadc maxadc force-pushed the feat/i18n-chinese-support branch from a6f0be8 to c6a70da Compare May 20, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant