Greetings,My name is Alceu and I would like to help translate Jenkins source code to Brazilian Portuguese.Unfortunately, I'm a little lost about how this process is organized.There is a Brazilian group of users (jenkinsci-br) that originally took care of this, but it seems the group is not active anymore (last message sent was May 2021). I also tried sending a message to this group, but after a week I'm still without an answer.
This is the link to the Brazilian docs about how to translate (in Brazilian Portuguese): https://wiki.jenkins.io/display/JENKINS/Brazilian+Portuguese+Translation. It leads to this another link (English) https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins that describes how to download Jenkins code and compile it. These steps are not working due the error below and I believe they are actually outdated. This are a except from the stacktrace (tried even without any attempt to translate):[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.jenkins-ci.main:jenkins-bom:pom:2.335-SNAPSHOT in repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/) @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 55, column 19
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.main:remoting:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 95, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:instance-identity:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 115, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:slave-installer:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 119, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:windows-slave-installer:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 123, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:launchd-slave-installer:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 127, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:upstart-slave-installer:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 131, column 17
[ERROR] 'dependencies.dependency.version' for org.jenkins-ci.modules:systemd-slave-installer:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 135, column 17
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-jdk14:jar is missing. @ org.jenkins-ci.main:jenkins-war:${revision}${changelist}, /home/semantix/Projects/jenkins/war/pom.xml, line 139, column 17
Anyway, instructions are a bit different from what I had found at https://www.jenkins.io/doc/developer/internationalization/i18n-source-code/.
So, to summarize my issues to help:
- Not sure if the Brazilian group is still active or not;
- How to actually compile code with Maven after translating;
- Once the translation is good, how do I submit it to be published together with Jenkins distributions;
Thanks in advance,Alceu
Hello Mark,
Thanks for all the details.
I went through the process and it seems to be working after I installed a newer version of Maven (this computer is still running Ubuntu 18.04).
I started using the translation_tool.pl and
it seems it is not working properly: for files that already
exists in Brazilian Portuguese, new messages don't have the
related English one. On the other hand that happens
for new files.
I started a review of the Perl script, and
took the chance to try a first PR with a set of small changes: https://github.com/jenkinsci/jenkins/pull/6290.
There is a lot of room to improve this script.
I'm considering rewrite this script with Python, so I can use this hack to translate the Unicode characters of Brazilian Portuguese to Java entities after initial translation, because copying and pasting from http://itpro.cz/juniconv/ is really boring, slow and prone to errors.
Please let me know if there is anything ready (or in progress) related to this tool.
Anyway, I already started translating the new files first, after that I should create a new PR.
Regards,
Alceu
--
You received this message because you are subscribed to the Google Groups "Jenkins Documentation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-doc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-docs/2bf9c31d-78c9-a74b-2dff-a8774ba2e1fd%40gmail.com.