Giter Club home page Giter Club logo

git-zh's Introduction

Git for Windows 汉化

用法

在 WSL 或 git bash 中

# ./build.sh <Git for windows 版本号>
./build.sh 2.31.0.windows.1

生成 build-2.31.0.windows.1.zip,把里面的东西解压到 Git 安装目录即可汉化。

如果获取不了源码,就把 build.sh 里的下载地址行头的井号 # 换一下位置

curl -L -O "https://github.com/git-for-windows/git/archive/refs/tags/$tarfile"
# curl -L -O "https://hub.fastgit.org/git-for-windows/git/archive/refs/tags/$tarfile"

改为

# curl -L -O "https://github.com/git-for-windows/git/archive/refs/tags/$tarfile"
curl -L -O "https://hub.fastgit.org/git-for-windows/git/archive/refs/tags/$tarfile"

移除汉化

去 Git 安装目录中删除这三个文件

/mingw64/share/locale/zh_CN/LC_MESSAGES/git.mo
/mingw64/share/git-gui/lib/msgs/zh_cn.msg
/mingw64/share/gitk/lib/msgs/zh_cn.msg

git-zh's People

Contributors

toyobayashi avatar

Stargazers

多吃点 avatar  avatar  avatar  avatar  avatar 锟斤拷 avatar NewTypo avatar  avatar  avatar 陈佳 avatar screw-up avatar

Watchers

James Cloos avatar  avatar

Forkers

zkl2333

git-zh's Issues

window下,git bash 报错

git version 2.45.1.windows.1

报错:msgfmt: command not found

请问一下window的git bash 如何安装msgfmt?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.