CSV File Format - Stringtables – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (replies)
Line 5: Line 5:
  STR_FAMILY, $STR_FAMILY2 (thats inside the stringtable.csv)
  STR_FAMILY, $STR_FAMILY2 (thats inside the stringtable.csv)


 
::NO. It is non-recursive.


~ what about:
~ what about:
Line 13: Line 13:


~ can one use defines or includes (c macro stuff) in a stringtable.csv?
~ 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)




Line 18: Line 20:
   
   
  %.0f / %.2f / %.3f / %02d / %1 / %1.1 / %2 / %2.1 / %3 / %4 / %5 / %a / %b / %c / %d / %s
  %.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


--[[User:WGL.Q|WGL.Q]] 11:04, 29 July 2006 (CEST)
--[[User:WGL.Q|WGL.Q]] 11:04, 29 July 2006 (CEST)

Revision as of 16:00, 29 July 2006

~ 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)