Internationalization

By default the BPM Appication come with six languages:

  • English

  • Spanish

  • German

  • French

  • Italian

  • Portuguese Translation for others languages can be added easily. There is an interface to create translation but a CSV file can be imported with translation via Script. The following picture show the interface to create translations.

To add a translation by script:

  • Create the CSV translation file.

  • Use a Script to upload the file to the server.

Create the CSV translation file It is highly recommended to create the CSV file based on file created by the following script:

ApplicationInternationalization default exportBackOfficePartialCSVTranslationToFile: '/tmp/translations3.csv'.
ApplicationInternationalization default exportFrontOfficePartialCSVTranslationToFile: '/tmp/translations4.csv'.

This will create a file (translations3.csv, translations4.csv) that can be edited to create the CSV to be imported. It can be edited with Open Calc using the semicolon (;) as separator of the CSV. Each value is separated by a semicolon (;) File header (Target Translation + Languages):

Target Translation;English;Spanish

File Content (string to translate + translations) Each value is separated by a semicolon (;)

Password:;Password:;Clave:

Example:

Target Translation;English;Spanish
-View All-;-View All-; -Todos-
Add Application;Add Application;Ageregar Aplicación
And Context:;And Context:;Contexto And:
Application;Application;Aplicación
Application:;Application:;Aplicación:
Applications;Applications;Aplicaciones

Use a Script to upload the file to the server

ApplicationInternationalization default importCSVFile: '/tmp/translations2.csv'