About this task
For an element in a business entity, you can add annotations to the element to define the language specific labels, multilingual descriptions, multilingual facet error messages, and the format according to which you want to display/insert, in a specific language, dates or numbers in master data records in Talend MDM Web UI.
Additionally, you can add annotations to elements to define authorization of roles regarding web interface access to attributes. For more information, see Defining access control at the element level (access control annotation).
The following example shows how to set the display format of the element StartDate in the entity Agent.
- In the Data Model Entities area, click the element StartDate in the entity Agent.
- In the Properties view, click the Presentation tab.
- Select the Display Format tab.
From the language list, select the language for which you want to define the
date format, and then enter the syntax for the date format according to the
You must use a syntax based on the java.util.Formatter class to define the display of dates and numbers in a specific language. For further information about this class, see http://download.oracle.com/javase/6/docs/api/java/util/Formatter.html.In this example, set
%tcfor the English language and
%1$td/%1$tm/%1$tyfor the French language.
- Click the [+] button to add the display format.
- Press Ctrl+S to save your changes.