EXL text file? I will assume you mean XML text file, because that makes a whole lot more sense.
Take for instance
PHP:
<TEXT>
<Tag>TXT_KEY_EVENT_GOLD_FROM_PLAYER</Tag>
<English>[ICON_BULLET]Receive %d1[ICON_GOLD] from %s2_playerName</English>
<French>[ICON_BULLET]Recevoir %d1[ICON_GOLD] de la part de %s2_playerName</French>
<German>[ICON_BULLET]%d1[ICON_GOLD] von %s2_playerName</German>
<Italian>[ICON_BULLET]Ricevi %d1[ICON_GOLD] da %s2_playerName</Italian>
<Spanish>[ICON_BULLET]Recibir %d1 [ICON_GOLD] de %s2_playerName</Spanish>
</TEXT>
%d1 refers to the first argument. %s2 refers to the second. d is a number while s is a string.
Calling this from python should be like this (I think, usually I do this from the DLL)
This should hopefully be enough for your needs. We really should have a proper guide because there are plenty of stuff you can do with strings. For instance you can make a word use singular/plural based on an argument like
PHP:
<English>%d1 [NUM1:Turn:Turns]</English>
The problem is most people aren't aware of all the options and those who are (like me) tend to forget precisely how to use each.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.