kie-wb-common icon indicating copy to clipboard operation
kie-wb-common copied to clipboard

[JBPM-10218] Add italian translation

Open gjed opened this issue 1 year ago • 6 comments

Add support for italian translation

JIRA: JBPM-10218

Referenced Pull Requests:

There is still a bit missing: the italian language does not appear in the dropdown menu in the setting page. I edited the LanguageConfigurationHandler, WorkbenchConfigurationPopup and CommonCostants classes and the gwt.xml files but something is still missing. Any advice is kindly accepted!


How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • Retest PR: jenkins retest this
  • A full downstream build: jenkins do fdb
  • A compile downstream build: jenkins do cdb
  • A full production downstream build: jenkins do product fdb
  • An upstream build: jenkins do upstream
How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

gjed avatar Jan 13 '24 09:01 gjed

Rebased gjed/i18n_it on main branch

gjed avatar Jan 16 '24 14:01 gjed

you also need to add Italian into constants and java classes which populate dropdowns ;) see for inspiration this PR change from past https://github.com/kiegroup/kie-wb-common/pull/3191/files

mareknovotny avatar Jan 17 '24 11:01 mareknovotny

you also need to add Italian into constants and java classes which populate dropdowns ;) see for inspiration this PR change from past https://github.com/kiegroup/kie-wb-common/pull/3191/files

Thanks for the answer! I already added the option in the map of the WorkbenchConfigurationPopup and LanguageConfigurationHandler classes, added the method to the CommonConstants interface and the values in the CommonCostants*.properties are populated. (first commit 2a2a471) That was in fact inspired on the #3191 PR.

gjed avatar Jan 17 '24 14:01 gjed

fyi: the italian option in the language menu is present.

About the build: I'm not sure why it breaks on the org.kie.server:kie-server-services-drools:jar:7.75.0-SNAPSHOT dependency.

gjed avatar Mar 07 '24 09:03 gjed

jenkins retest this please

mareknovotny avatar Mar 07 '24 09:03 mareknovotny

jenkins retest this please

mareknovotny avatar Aug 08 '24 10:08 mareknovotny

jenkins retest this please

mareknovotny avatar Sep 16 '24 07:09 mareknovotny