📑Message_[LANG]
Game message texts (notifications, event results, etc.), with one file per language: English, Portuguese, and Spanish. All three share the exact same format.
Index
Number
Identifies the message. Must be the same number in all three files so that the message at Index X in one file corresponds to the translation in the others.
Message
Text in quotes
The message text in the specific language of that file. It may contain %d (number) and %s (text) placeholders, which the game fills in when displaying the message.
Notes
The game automatically selects which of the three files to use for each player based on their account or client language settings—this is not defined here.
Translation relies on the English text, not just the number: the server takes the English message, searches for identical text within
Message_Eng.txtto identify theIndex, and only then looks up that sameIndexinMessage_Por.txtorMessage_Spn.txt. Consequently:Two different messages with the exact same text in
Message_Eng.txtcan lead to incorrect translations (the server cannot distinguish which one you intended).Message_Por.txtandMessage_Spn.txtmust use the same number and order of%d/%splaceholders asMessage_Eng.txtfor a givenIndex—values are populated after translation, using the original message as a template.
Unused indices contain a blank space (
" ") simply to avoid gaps in the numbering sequence.
Last updated