Bonita is available in different languages
Bonita is officially released in various languages.
Languages available by default
The following languages are officially supported:
-
English (US)
-
French
-
Spanish (Latin American)
-
Japanese
-
Brazilian Portuguese
Officially supported language means that:
-
Translation is performed by Bonitasoft.
-
Following Bonita components are translated: Studio, UI Designer and Portal.
Select Bonita Portal user interface language
For the web desktop version:
-
Go to the top right corner and click on Settings/Language
-
Select a language from the drop-down list.
For the web mobile version:
-
Click on the *Tools icon*
-
Click on Languages
-
Select a new language from the drop-down list
Select Bonita applications user interface language
For a web living application, if it is configured to use the default Bonita layout:
-
Click on the user icon in the top right corner of the layout
-
In the user modale, go to the language section and select a language from the drop-down list.
Language detection mechanism
Since Bonita 7.11.0, when a user accesses a page of Bonita portal or an application, the language to use to display the page is detected using the following priority order:
-
locale
parameter value in the URL if it is present (E.g.:?locale=pt_BR
) -
BOS_Locale cookie value
-
Web browser prefered language (first locale sent in the request header Accept-Language)
-
English if none of the previous ones are set and/or supported
When a language different from the one already set in the BOS_Locale cookie is passed in the URL ( |
Add a language to Bonita Portal
Instructions below assume that the language you want to add is already available in the community translation project. If translation is not available see Translate Bonita Portal for instruction about how to collaborate to a new or ongoing translation. |
Instructions below explain how to add a language to Bonita Portal. Steps below involve using content created by Bonitasoft community and therefore not officially supported.
Download the language files
-
Go to Bonita translation project.
-
Select the language you are interested in.
-
Make sure you click on the "Toggle Hidden Files" button to see already fully translated files.
-
Browse the file tree to
7.11.x/bonita-web/portal
folder. -
For each file in the folder: open it and in the File menu click on Download. Each
.po/.pot
file has a language indicator and a locale indicator. For example, the files for the Brazilian Portuguese language end withpt_BR.po
. -
For Subscription editions, you also need to get the files from
7.11.x/bonita-web-sp/portal
folder.
Install the files and configure java
-
Create a new folder depending on the situation:
-
[TOMCAT_HOME]/server/i18n/
-
[STUDIO_HOME]/workspace/tomcat/server/i18n/
-
-
Copy all the
.po/.pot
files into the new folder just created. -
Declare a new JVM property
org.bonitasoft.i18n.folder
and set the value to the full path toi18n
folder:-
Tomcat on Windows, edit the
[TOMCAT_HOME]\setup\tomcat-templates\setenv.bat
file:"-Dorg.bonitasoft.i18n.folder=C:\path_to_i18n_folder"
-
Tomcat on Linux, edit the
[TOMCAT_HOME]/setup/tomcat-templates/setenv.sh
file:-Dorg.bonitasoft.i18n.folder="/path_to_i18n_folder"
-
Tomcat embedded in Bonita Studio edit the appropriate .ini file and use the following syntax:
-Dtomcat.extra.params="-Dorg.bonitasoft.i18n.folder=C:\path\to_i18n_folder"
-
Windows 64bit:
[STUDIO_HOME]/BonitaStudioSubscription64.ini
-
Linux 64bit:
[STUDIO_HOME]/BonitaStudioSubscription64-linux.ini
-
etc.
-
-
-
Restart your application server (or Click on Server in the Bonita Studio menu bar, click on Restart Web Server).
-
Check that the new language is listed in Settings menu of the Bonita Portal.
The On the other hand, some of the keys in the For example, if you are adding the German language to the Mobile portal, the "Do it" key should be equally translated (or set to "Do it", but never left empty) in the following files:
|
Translate Bonita Portal
First step if to go to Bonita translation project hosted on Crowdin and check if the language you want to contribute to is already listed. If it’s not, please request it by submitting an issue on our community issue tracker.
If the language you want to contribute to is already listed:
-
If you don’t already have one, create a Crowdin account.
-
On the Bonita translation project page click on the language you want to translate.
-
At the top of the page, click on the "Join" button.
-
Wait for us to validate your request to join the project.
-
Navigate to the Portal
.po/.pot
files (see information in the "Add a language to Bonita Portal" section above). -
Click on a file to begin the translation. You can then use the filter missing translation to only display the strings to be translated.