The message catalog is a list of translatable strings, identified by a unique key. In an adapter module, these files are in messages/<adapter-name>/
. The default strings are in messages.properties
and any translations are in messages_<language>.properties
where <language>
is the language tag as per IETF BCP 47. Typical names would be messages_en-US.properties
, messages_fr.properties
.
A number of fields in appdef.json
can optionally specify a string in the message catalog by simply specifying the key rather than a fixed string. The fields where this is possible are:
- feed definition
displayName
- additional property
displayName
,helpText
- app definition
displayName
,description
An example messages.properties
is below, for strings used in the various examples throughout this document.
ConnectionType.Example.DisplayName=Example ConnectionType.Example.description=Example application server connection FeedType.ExampleBase.DisplayName=Example BaseFeedType.ExampleSearch.DisplayName=Example Search FeedType.Example.hideHeader.DisplayName=Hide Header FeedType.Example.hideHeader.helpText=Hide the header pane that normally appears when using Example directly