# This is the PHOST language database # Comments start with '#' # Keep all string names (e.g., Cant_read_generic_file) just the # way they are. Do NOT translate them. Translate only what is in # between the ^_ markers (the string values). It is suggested that # a new language be created by simply copying the English part and # then deleting (or translating) all lines that DO NOT begin # with ^_ (or @@, or ^!). # For example: # # @@ English # # ^_ String_one # Hello. # ^_ String_two # Goodbye. # ^! # # @@ French # # ^_ String_one # Bonjour. # ^_ String_two # Au revoir. # ^! # There are two kinds of parameters used: position-dependent and # position-independent parameters. Position-dependent parameters # must preserve their relative ordering within a string (since # the string will be passed verbatim to C's sprintf function # which will not take kindly to reordering parameters). However, # position-independent parameters may be reordered within # a string, if the grammar of the language so dictates. # Position-dependent parameters are simply C format specifiers. For # example, %s and %u. Position-independent parameters begin with # '@', for example @1%H and @5%s. The number after the @ indicates # the parameter number, and the %-specifier is similar to C format # specifiers but some special ones are introduced. # # The only thing to remember is: # 1) position-dependent specifiers (without the '@') must appear # in the same order in the translated string as they do in # the English string. # # EXAMPLE: 'The name of planet #%u is %s' # # This string, however it is translated, must have the %u appear # before the %s. # # 2) position-independent specifiers may appear in any order in the # the translated string but the specifier itself shouldn't # be changed. # # EXAMPLE: 'The name of planet #@1%u is @2%s' # # This string may be translated with the order of the parameters # reversed. For example, it may be written as: # # 'The planet named @2%s has an ID of @1%u' # # (in a different language, of course) # # Please note that player messages (the kind that players see when they # play their turns) must be limited to 40 characters per line, AFTER # substitution of parameters. Ship names, for example, can be up to # 20 characters so any line containing a %S must have at most 20 # other characters (this is just an example). # These files generate languages for PHost 3 and PHost 4. We use #ifdef # to differentiate between those. Don't touch them; the locations of # all #ifdefs must agree throughout all files. If you know C, don't try # to be clever. # # Another special command is `#use'. This causes the rest of the line to # be processed, but not output. Therefore, `#use @1%S' will let the # validator know that @1 must be a ship name even if the message template # does not look like that. ^# english.db ^# german.db ^# french.db ^# spanish.db ^# italian.db ^# dutch.db ^# russian.db ^# estonian.db ^# nenglish.db ^# polish.db