Language Settings
Process Studio allows you to configure the languages used both in the design tool and on the end-user portal. The multilingual configuration is based on three pillars: the design interface language, the application's default language, and the list of supported languages.
1. Process Studio Language
The Process Studio interface language (menus, ribbons, dialogs) is configured globally for the installation.
Modification via configuration file
To change the tool's language, you must edit the programs.ini file located in the ./PStudio.Configuration folder of your solution.
- Open the
programs.inifile with a text editor. - Locate the
[PStudio.Client\Avanteam.Studio.Main.exe]section. - Modify or add the
Languagekey.
[PStudio.Client\Avanteam.Studio.Main.exe]
Language=fr-FR
Possible values
The values follow the ISO 639-1 standard (e.g.: fr-FR for French, en-GB for English). If an unsupported code is entered, the application will default to English.
2. Application Default Language
The default language is the one used by the web portal to display content if no specific translation is available.
Initial setup
On the very first launch of Process Studio for a new application, a selection screen automatically appears to define this reference language.
Subsequent modification
You can change the default language at any time from the translation module:
- Go to the Translation > Application menu.
- In the ribbon, click the Default Language button.
- Select the new reference language.
This modification updates the DefaultLanguage parameter in the database (ApplicationSettings table).
3. Activating New Languages
For a language to be available in the translation menus and on the web portal, it must be declared as "supported".
Declaration of supported cultures
Activation is done in two technical steps:
Step 1: Website
Edit the App_Data/SupportedCultures.xml file located at the root of the website to add the new language code:
<?xml version="1.0" encoding="utf-8" ?>
<supportedCultures>
<cultureInfo><code>fr</code></cultureInfo>
<cultureInfo><code>en-GB</code></cultureInfo>
<cultureInfo><code>de</code></cultureInfo>
<!-- Add your new language here -->
<cultureInfo><code>it</code></cultureInfo>
</supportedCultures>
Step 2: Global Configuration
Update the Localization:SupportedCultures key in the programs.ini file ([PStudio.Net.Web\] section) to include the new complete country code.
[PStudio.Net.Web\]
Localization:SupportedCultures=de-DE,en-GB,fr-FR,it-IT