Exporting a Properties File From the Domain Designer

In the Domain Designer, the name of the internationalization keys are defined by the Label Key and Descriptions Key properties on each set and item on the Data Presentation tab. By default, these properties are blank. You can name the keys in any way you want, as long as each key is unique among all keys within the Domain. However, because keys are used in a Java properties file, they may only use characters from the ISO Latin-1 set, digits, and underscores (_).

You can export a properties file from the Domain Designer.  

1. Click download the template on the Options tab of the Domain Designer.

Template Download Link on Options Tab

2. In the File Options dialog box, select which keys to export:
     Generate missing label keys – Automatically generates label key names for any elements where Label Key is not defined.
     Generate missing description keys – Automatically generates description key names for any elements where Description Key is not defined.
     When both options are deselected, keys are not generated automatically. Only keys explicitly defined as Label Key or Descriptions Key are exported.

File Options for Downloading a .properties File

3. Click OK.

The bundle is exported with a generated file name such as "domain xxx.properties". You can change the name to match the name you want to use for your properties files.

The file contains the following:

     All explicitly defined keys.
     Optional generated keys, if selected. For the format of generated keys, see Key Names.
     Any values that are explicitly defined as the Label or Description field for an element on the Presentation tab, or the labelId or descriptionId attributes on an itemGroup or item element in the XML design file.

The exported file is a Java properties file in the proper format containing the selected keys. If you did not set any label or descriptions in the Domain Designer or XML design file, then the file contains blank values and is ready for translation.

If the design file does not load properly in the Domain Designer, you are not able to use the exported design file. In this case, do not overwrite the design file, but save the exported file to another name and attempt to merge in the generated keys.