Skip to content

[Feature] Internationalization (i18n) framework & Simplified Chinese (zh-CN) localization for GUI #84

Description

@AnonyJcy

Hi @timhartmann7,

Thanks for building OmnySSH!

I put together an i18n setup for the GUI along with a full Simplified Chinese translation (zh-CN). Everything was kept lightweight using Svelte stores under $lib/i18n with zero external dependencies, following the existing codebase conventions.

Summary of changes:

  • Type-safe translation dictionary and store in src/lib/i18n/
  • Language selector added to Settings (English / 简体中文) with local persistence
  • Localized components and screens: Dashboard, HostEditor, SFTP browser, Snippets, SSH Key setup, Command Palette, etc.
  • All 225 unit tests pass, plus type-check passes with 0 errors/warnings (npm run check & npm test)

Would you be interested in taking a PR for this upstream? If so, I'm happy to open a clean pull request for review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions