Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分汉化 #121

Open
282919088 opened this issue Dec 10, 2019 · 11 comments
Open

部分汉化 #121

282919088 opened this issue Dec 10, 2019 · 11 comments
Labels
bug Something isn't working

Comments

@282919088
Copy link

282919088 commented Dec 10, 2019

现在只有部分是汉化的,在网上找了个教程,但是如果安装新的插件,重启了服务,又变成部分汉化了。
版本:
Jenkins ver.:2.207
Locale plugin:1.4
Localization: Chinese (Simplified):1.0.11

网上教程:

  1. 将语言设定为zh_US,Jenkins切换为英文。
  2. 调用restart重启Jenkins:http://域名/restart。
  3. 再次语言设定为zh_CN,刷新即可

==================================分割线======================================
问题补充
中文简体部分翻译部分不翻译。中文繁体可以正常全部翻译。
解决步骤(一定要安装步骤)
1:将原有插件卸载,再次重启Jenkins
2:调用restart重启Jenkins:http://域名/restart。
3:将语言设定为zh_US,Jenkins切换为英文。
4:调用restart重启Jenkins:http://域名/restart。
5: 再次语言设定为zh_CN,刷新即可。

卸载:
image

@blueskeys
Copy link

厉害了,确实可以解决了部分汉化

@arctanzyy
Copy link

厉害 这样确实可以结果一部分的汉化问题

@kingofzgjsxz
Copy link

厉害,解决了困扰我很久的问题

@LinuxSuRen LinuxSuRen added the bug Something isn't working label Mar 16, 2020
@gesangtome
Copy link

在最近的几个版本 这个方法已经失效了

@lwangwangl
Copy link

我这也失效了,jenkins:2.231,
Locale plugin:1.4
Localization: Chinese (Simplified):1.0.14

@mamh2021
Copy link
Contributor

@LinuxSuRen

问题1> 部分汉化的问题中, 是不是只有 Messages.properties 中的字段没有中文???

问题2>
在localization-zh-cn-plugin/pom.xml 中 jenkins.version 是 2.173的时候, 然后调试执行就是正常的,
因为我发现 2.173版本中 jenkins-core.jar里面还有 中文的 Messages.properties 文件.

当我调整 localization-zh-cn-plugin/pom.xml 中 jenkins.version 为 2.223. 或者 2.235.3 比较新的版本的时候.
就发现 中文 部分 不显示了, 也就是 Messages.properties 中的中文不会显示.

举个例子 首页 "新建任务" 这个, 正常显示完整中文的就是 "新建任务", 不正常的时候 显示 "新建Item"
新建是来自 sidepanel.properties 中, NewJob=New {0} , iterm 来自 Messages.properties .

@LinuxSuRen
Copy link
Member

LinuxSuRen commented Sep 16, 2020

@mmh891113

部分汉化的问题中, 是不是只有 Messages.properties 中的字段没有中文???

所有的中文都在 xxx_zh_CN.xx

另外,如果有愿意加入社区微信群的,可以添加社区小助手(进群后一定要先阅读群公告,并回复,谢谢合作):
image

@mamh2021
Copy link
Contributor

@LinuxSuRen 那个群人太多.有没有核心开发人员使用的群, 专注于讨论PR的, bug的? 我在群里,有意向可以加我
, 可以私下里面交流交流.

@LinuxSuRen
Copy link
Member

LinuxSuRen commented Sep 18, 2020

相当于是Jenkins的开发者的群,对吧?这个想法💡很好。

@x1989z
Copy link

x1989z commented Dec 24, 2020

现在只有部分是汉化的,在网上找了个教程,但是如果安装新的插件,重启了服务,又变成部分汉化了。
版本:
Jenkins ver.:2.207
Locale plugin:1.4
Localization: Chinese (Simplified):1.0.11

网上教程:

  1. 将语言设定为zh_US,Jenkins切换为英文。
  2. 调用restart重启Jenkins:http://域名/restart。
  3. 再次语言设定为zh_CN,刷新即可

但是这个方法重启后又变成部分汉化了

@szylmzs
Copy link

szylmzs commented Jan 7, 2023

2.385版本 这个方法已经失效了吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants