Language/Culture Localization

Customizing the Process Director UI

The default language of Process Director is US English. All built-in system strings are stored in the \Program Files\BP Logix\Process Director\website\App_GlobalResources\Resource.resx file (a standard .NET resource file containing strings). To localize these to another language, create a separate file called Resource.[Culture].resx in the same folder (where [Culture] is the language/culture type, as specified in MSDN.). As an example, a file for German localization would be named "Resource.de.resx". This file will contain the translated strings. You only need to include the strings that have been translated into this file.

At runtime, the system will first try to find a string in the Resource.[Culture].resx file, and then it will try the default Resource.resx file. Since the Resource.resx file is the final fallback file in this hierarchy, this means that you can also create a customized US English resources file to change specific items of the Process Director user interface text by creating a Resource.en-US.resx file. Process Director will check that file first, and use any custom text from that file, before falling back to the main Resource.resx file for the standard UI text items.

It is also possible to completely localize the entire Process Director UI by making a copy of the Resource.resx your master translation file. This is, of course a very, very large file, and you'd need to also add the custom strings you want to translate to each copy of this file.

Important Do not modify the Resource.resx file; it will be overwritten on any upgrade/patch.

Each user is able to set their own culture/language in their profile, and the system will use the appropriate resx file to display the customized interface for their selected culture.

Once you've edited the RESX files, you'll need to use the Locales custom variable to add the Cultures to Process Director.

  • Resource.en-US.resx for US English
  • Resource.it.resx for Italian
  • Resource.ja-JP.resx for Japanese
  • etc.

See MSDN for the various "culture strings" (i.e. the portion of the file name between “Resource.” And “.resx”).

Edit the strings in each new Resource.[culture_string].resx file for the specific language.

Copy all the translated RESX files into the \Program Files\BP Logix\Process Director\website\App_GlobalResources\ folder.

Ensure that the [Culture] portion of the file name for the RESX file matches the pValue parameter used in the Locales custom variable.

Form Customization/Localization

In addition to the ability to localize Process Director's user interface, Forms can also be localized so that the same Form can be used for users from different cultures. Localized Forms will automatically display all of the Form field labels in the language appropriate to the user's culture.

Localizing Forms requires two steps:

  1. Placing the translations for the Form field labels in the appropriate RESX file for each culture.
  2. Using variables for Form labels instead of using fixed text (e.g., First Name, Last Name, etc.).

Let's look at each step separately, along with some best practices to implement when performing each step.