Adding Persian language to Bonita Studio

1
0
-1

Dear All,
I want to add the Persian language to the bonita community 7.3 that I translated in Crowdin website. So, I copy the ".po" files to the bonita-web project and compile them and it works well. The Persian language has added to Bonita portal. But I have a problem with adding the Persian language to Studio section.
In order to add a new language, I Create a new module like "fa" in translation module in the bonita-studio project. then I copy the ".properties" files which the translation website give me. By the way, It compiles successfully. I mean that without any error. But the Persian language does not add to the studio. what about "org.bonitasoft.studio.translations-feature" module. Do I modify it or not? there is a "feature.xml" file that I don't know anything about it.
I see the logs that show in maven results when the "all-in-one" module built and I find out some jar files created by "-ja" or "-fr" suffix. Do I need to modify the "all-in-one" module?

any help is acceptable.

Thanks in Advance
REZA

1 answer

1
0
-1

I don't think this is possible as you are really changing the language of Eclipse which is used for the basic editing engine. You would have to look there for assistance, and even then it may not work completely,

regards
Seán

PS: While I understand this may not be the answer you're hoping for, it does indicate a possible route to the solution, please mark as resolved.

Comments

Submitted by reza.mirzaie68 on Sun, 03/26/2017 - 10:44

I don't understand What you said. You mean that I have to modify the bonita engine. How can I add a new language to bonita studio? if you have an experience, please share it until others can use it.

Regard.

Submitted by Sean McP on Sun, 03/26/2017 - 22:25

No not the Bonita Engine - the EDITING Engine. Sorry if I confused you.

Bonitasoft have taken the open source system Eclipse and used it to build the Editing Engine (Studio) with previously developed plugins and have developed their own.

Translating the Eclipse engine is managed by the Eclipse open source project Babel

Persian as I see it is supported. However, how do you get it into the Bonitasoft Studio. That's the real question. I think you'll have to try to follow the examples of how to do eclipse and then try it with Studio.

Note: for every release of Studio you will have to do the same thing so make sure you document the process :)

I've not had to do this so i don't know how to do it. It could be that there are also texts that Bonitasoft have added that are not covered by the Eclipse translation, how to add these will have to be investigated by yourself as well.

Sorry can't be more assistance, but this is what i would do.

regards

Submitted by reza.mirzaie68 on Wed, 04/19/2017 - 06:12

I can't add a new language to bonita studio because the lack of supporting Eclipse babel luna version.

Submitted by Sean McP on Wed, 04/19/2017 - 07:24

thanks for letting us know,

regards

Submitted by reza.mirzaie68 on Sat, 05/06/2017 - 06:18

Due to the lack of supporting the bonita studio from the Persian language, I replace the ". properties" files from the translation website to French folder in the translation module of bonita studio source code and It is worked.
It is necessary for me to change the language of bonita studio. But, There is a problem. For example, some windows like "Exit Confirmation" is still in French. How can I translate them?

Thanks in Advance
REZA

Notifications