gitlab汉化
Gitlab汉化需要看一下版本号
cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
11.4.5-ee
获取gitlab汉化包
git clone https://gitlab.com/xhang/gitlab.git
cd gitlab
git fetch
gitlab-ctl stop
git diff origin/11-4-stable origin/11-4-stable-zh > /tmp/11.4.diff
cd /opt/gitlab/embedded/service/gitlab-rails git apply /tmp/11.4.diff patch -d /opt/gitlab/embedded/service/gitlab-rails -p1 < 11.4.diff #这步好像可以不用,我直接打上了(第一次启动时需要使用这个命令,或修改过总配置后) gitlab-ctl reconfigure #启动 gitlab-ctl start
注:在进行汉化时提前备份,防止发生意外不能及时回退
备份目录:
/opt/gitlab/embedded/service/gitlab-rails