CSV File Format - Stringtables – Talk
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 25: | Line 25: | ||
--[[User:WGL.Q|WGL.Q]] 11:04, 29 July 2006 (CEST) | --[[User:WGL.Q|WGL.Q]] 11:04, 29 July 2006 (CEST) | ||
some notes | some notes for a2 | ||
*STR must be upper case in both the config, and, the csv it wont match str in ither case | *STR must be upper case in both the config, and, the csv it wont match str in ither case | ||
Line 34: | Line 34: | ||
*,space anything is trimmed (spaces ignored) | *,space anything is trimmed (spaces ignored) | ||
*; comment and | |||
*// comment appear to be ok (dont confuse engine) |
Latest revision as of 00:27, 10 March 2010
~ is it possible to have a stingtable value reference to another stringtable value?
text = $STR_FAMILY;
STR_FAMILY, $STR_FAMILY2 (thats inside the stringtable.csv)
- NO. It is non-recursive.
~ what about:
text = $STR_FAMILY$STR_FAMILY2;
~ can one use defines or includes (c macro stuff) in a stringtable.csv?
- No. (You can of course ##manipulate with #defines in body text but not, the csv itself)
~ can one make use of these (from BIS stringtable.csv):
%.0f / %.2f / %.3f / %02d / %1 / %1.1 / %2 / %2.1 / %3 / %4 / %5 / %a / %b / %c / %d / %s
- yes. It is after all, just a replaced string. BUT, the purpose of the csv would be defeated in terms of language, with the exception of giving some peculiar (native) time and date formats
--WGL.Q 11:04, 29 July 2006 (CEST)
some notes for a2
- STR must be upper case in both the config, and, the csv it wont match str in ither case
- thing, and thing space , are NOT the same
it will not match STR_thingo space,
- ,space anything is trimmed (spaces ignored)
- comment and
- // comment appear to be ok (dont confuse engine)