This page is for application designers who need to have their application interface translated into different languages.

Translation Table

Translate function

Language

Locale


When you need to deploy a PhixFlow application across sites in different countries, you can configure PhixFlow to use the locale to translate the application interface. This includes.

PhixFlow cannot translate the following:

Translation works as follows:

  1. User has an account in PhixFlow (only visible in the full repository and to those with permission)
  2. User is assigned to a user group.
  3. Your application also has user groups - which determines which people can see the application
  4. Each user has a locale setting . When the User's locale setting matches one of the locales you set in the application, the application is translated into the language set for that application.

Remember, everything (except users) needs to be created within the application's repository.


Set up Languages and Locales

Can you use any existing configuration in the repo?

Check the list of Locales in the Full repository? can you reuse them?

Check whether or not the language is already there - drop-down list.


If the language you need is not already available, add the language.

  1. How?

Add a new locale to your application - or use an existing one?

  1. In the application repository, right-click Locale and  Locale.
  2. Enter a name for the Locale, and select a language from the Language Name drop-down list. Where does this list come from?

You can only delete a language when it is no longer used by any Locale.

Configuring Translation

Text Strings 

It is important to be consistent in capitalisation and to minimise the strings, as you need to create entries that pair the text to all the translations.

Translation does not apply to the PhixFlow interface itself. Any notification, warning or error messages reported by PhixFlow will continue to be in English.

An application is able to translate text using the information in its translation table. The table contains a list of whole text strings which must exactly match those used in the application.

The translation table must include all variants of a string, for example, with different:

  • spelling variants
  • capitalisation
  • spacing
  • punctuation.

For each text string you must add the translation for each language you want to support. 

It is not possible to break the strings into substrings or translation. For example, you must translate  ‘First Name’ and ‘Family Name’ separately, rather than creating translation strings for 'first', 'family' and 'name'.

Create and populate the translation table

  1. In the application repository, right-click Translation Table and click .
  2. In Basic Settings → Name, add a name.
  3. In Translation Entries, add entry codes for each string that you need to translate.
  4. Click  to open a New Translation Entry properties tab. Set:
    1. Basic Settings → Entry Code: the string that is to be translated - exactly matching how it appears in the interface.
    2. Translation Cell: add an entry for each language the string will be translated into (how?) and set:
      • Translation String to the translated version
      • Language Name to the language

Date Time Formats

Depending on a user's locale, PhixFlow can change the way it displays dates and times. The mappings are expressed using dd/MM/yyyy strings. If you want to translate month names or abbreviations, such as "January" is not translated to  "Janvier", "Jan" is not translated to "Janv", use text string translation. 

Step 1.  Create a date-time format

  1. In the application repository, right-click Date Time Formats and click .
  2. In Basic Settings, set:

Step 2.  Map the format to alternative formats for each locale

  1. For each locale, add a Date Style Mapping.
  2. Click  to open a New Date Style Mapping tab. Set:
  3. Click  to save and close the properties tab.

Step 3.  Add the Date Time Format to your Locale

  1. In the application repository, open the locale for your application.
  2. In Basic Settings → Date Style Name, select the format you just created from the drop-down list.


Ensure all Date Time Formats are removed from a locale before deleting them from the repository.

Do not delete Date Styles that have mappings referring to them – this leads to a bug where the Date Time Formats that had mappings to the deleted Date Style bring up an error when opening their configuration forms and cannot be deleted, and the Locale that used the deleted Date Style can no longer translate dates (Jira raised for this)