WoodWing Help Center

Elvis 4 action plug-ins setting - messages

Elvis 4 action plug-ins setting - messages

(14) Required setting

Configuration of plugin messages, which includes standard button labels, menu labels and tooltips. You can also add your own custom messages.

All messages are available in the elvisContext object, making them accessible from the plugin page. Messages can be defined per locale to support multiple client locales.

<action>
    <messages>...</messages>
</action>

Message entries - <entries/>

A group of message entries for a single locale.

Parameters

locale

Entries locale, for example: en_US, fr_FR, de_DE, etc.

Required.

Message entry - <entry/>

A single message entry, child of <entries>.

Parameters

key

Entry key, this can be a custom key or one of the standard keys:

  • button.label - button or menu item label
  • button.tooltip - button tooltip
  • title - tab or dialog title

Required.

entry value

The message value for the corresponding key.

Required.

Examples

Two locale entries with standard messages

<messages>
    <entries locale="en_US">
        <entry key="button.label">Run My Plugin</entry>
        <entry key="button.tooltip">My Plugin does this and that</entry>
        <entry key="title">My Plugin</entry>
    </entries>
    <entries locale="nl_NL">
        <entry key="button.label">Start mijn plugin</entry>
        <entry key="button.tooltip">Mijn plugin kan dit en dat</entry>
        <entry key="title">Mijn Plugin</entry>
    </entries>
</messages>

A single locale entry with custom messages

<messages>
    <entries locale="en_US">
        <entry key="button.label">Run My Plugin</entry>
        <entry key="button.tooltip">My Plugin does this and that</entry>
        <entry key="title">My Plugin</entry>
        <entry key="intro">Fill in some fields and click Run! to start My Plugin</entry>
        <entry key="button.run">Run!</entry>
    </entries>
</messages>
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.