View Single Post
04/26/14, 06:23 PM   #16
ckaotik
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 12
For example, look at string #803 ("<<C:1>> hat einen <<2*3>> entnommen."), the message posted in the guild bank activity log. (Don't know the exact English wording, something along the lines of "Someone withdrew some items"). I can post some examples in German, but I can't pinpoint the exact English versions - maybe someone on an English client could help out here?
The number used within the angular brackets is always the number of the argument to use, similar to string.format("%2$d %1$s", "test", 1) (which does not work in ESO)

Code:
LocalizeString(GetString(803), "Someone", 1, "Female^f|Plural^p")
-- returns "Someone hat eine Female entnommen.", i.e. female singular
LocalizeString(GetString(803), "Someone", 1, "Male^m|Plural^p")
-- returns "Someone hat einen Male entnommen.", i.e. male singular
LocalizeString(GetString(803), "Someone", 3, "Male^m|Plural^p")
-- returns "Someone hat 3 Plural entnommen.", i.e. male plural
LocalizeString(GetString(803), "Someone", 3, "Plural^p")
-- returns "Someone hat einige Plural entnommen." ("einige" = some)

LocalizeString("<<akk:2*1>>", "Liste^f|Listen^p", 13)
-- returns "13 Listen" or "Liste" if called with 1 instead of 13
Some patterns that I also found:
Code:
<<C:1>> (might indicate a character name used? or capitalize)
<<!aC:1>>
<<Cr:1>> (probably himself/herself?)
<<X:1>> (seems not to change anything and take input unescaped)
<<m:1>> "multiple", prints the plural version
<<L:1>> location (used in wayshrine travels)
<<Cl:1>> probably at a location? "Bei den Steinfällen"
<<R:1>> changes numbers into roman numerals (e.g. 12 => XII)
<<Z:1>> uppercase the word?
<<and(1,2)>> joins words 1 and 2 together, e.g. "flint and steel"
Others included in "/zgoo EsoStrings" include, but are not limited to <<Q:1>>, <<CX:1>>, <<CQ:1>>, <<dat:1>>, <<acc,C:1>>
  Reply With Quote