## VASSAL Reference Manual

Home > Module > Global Translatable Messages

### Global Translatable Messages

Global Translatable Messages are similar to Global Properties, except that instead of holding a value that might change during the game, they hold a message that might be translated into a foreign language (e.g. if running the module "in Spanish"). Global Translatable Messages are Properties, but they should only be referenced in Message Formats for display, or in Expressions used exclusively to generate messages to be displayed. They should not be used to change the "game state", since they may hold different values if two players in the same game are playing the module in two different languages.

To add a Global Translatable Message to your module, use the Editor’s configuration window to navigate to the [Global Translatable Messages] component, which is one of the top-level components of your module. Right-click on the [Global Translatable Messages] component and select Add Global Translatable Message. Your new Global Translatable Message will be added to the bottom of the list.

Global Translatable Messages are translated to other languages using the standard VASSAL translation tools

Name: The name of the property that will contain this message. Message: The message itself. This is the message that can be translated into a foreign language. Description: A Short description of the message for your won reference - not used during gameplay, just a "comment" for organizing your module. |