gitkraken-chinese  by yk47g

Localization patch for GitKraken

created 5 years ago
490 stars

Top 64.0% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a Chinese localization patch for the GitKraken Git GUI client, addressing the lack of official Chinese support. It enables Chinese-speaking users to navigate and utilize GitKraken's features more effectively.

How It Works

The project achieves localization by modifying GitKraken's English language JSON file. It includes a compare.html tool that can automatically translate strings using APIs from services like Youdao, OpenAI, and DeepSeek. Users can either manually replace the strings.json file with a pre-translated version or use the provided tool with their own API keys for custom translations.

Quick Start & Requirements

  1. Locate the strings.json file matching your GitKraken version in this repository or the ./old_version_files directory.
  2. Replace the strings.json file in your GitKraken installation directory. Paths vary by OS:
    • Windows: %programfiles%\gitkraken\app-x.x.x\resources\app\src\strings.json or ...\app.asar.unpacked\src\strings.json
    • macOS: /Applications/GitKraken.app/Contents/Resources/app/src/strings.json or .../app.asar.unpacked/src/strings.json
    • Linux: Varies by installation method (e.g., /usr/share/gitkraken/... for deb, /opt/gitkraken/... for AUR).
  3. Restart GitKraken.
    • Translation Tool: Requires API keys for Youdao, OpenAI, or DeepSeek. Instructions are in comparator.html.

Highlighted Details

  • Supports automatic translation via Youdao, OpenAI, and DeepSeek APIs.
  • Includes a compare.html tool for managing and translating strings.
  • Maintains a changelog detailing updates and version compatibility.
  • Offers a discussion forum for standardizing Git terminology translations.

Maintenance & Community

The project has seen contributions from multiple users, including @YuanXiQWQ, @FXDYJ, @Slinet6056, and others. Discussions on terminology are ongoing.

Licensing & Compatibility

The repository does not explicitly state a license. Compatibility for commercial use or linking with closed-source projects is not specified.

Limitations & Caveats

The use of translation APIs (Youdao, OpenAI, DeepSeek) incurs costs, and users must provide their own API keys. Translation consistency may vary, and a community discussion is underway to standardize terminology. The project's "destruction" in April 2025 suggests potential instability or significant changes.

Health Check
Last commit

4 weeks ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
56 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.