VASSAL Reference Manual
Home > Module > Game Piece Palette > Game Piece > Translatable Message
Translatable Message
A Translatable Message trait marks a game piece permanently as always having a particular translatable Property. Unlike many other types of Properties that can be configured on and by pieces (e.g. Dynamic Properties), a Marker’s value cannot change during play. In other words, it is like a constant rather than a variable in programming. The difference between a Translatable Message and a Marker trait is that a Translatable Message’s value is designed to be used to display text that may be translated into different languages (example: card text).
Markers can be referenced in Message Formats, and in Expressions used to create display text. Although they work much like other properties, it is NOT recommended to use them in expressions and traits that change the game state (because they will hold different values when the module is run in English from when it is run in e.g. Spanish).
Note
|
The text of the message can be translated using the standard VASSAL translation tools. |
SEE ALSO: Marker, Dynamic Property, Set Global Property
|