Menu

German: Howto become more 'human-readable'?

2006-03-05
2013-05-29
  • PatPowerMan

    PatPowerMan - 2006-03-05

    After downloading the newest CSV-files for the 'Ahnentafel' I would like to have a better german PDF-Output.

    Some examples:
    I would like to change the line
    $pgv_lang["ahnentafel_born_m"]        = "wurde geboren";
    in \languages\lang.de.php to
    $pgv_lang["ahnentafel_born_m"]        = "wurde geboren am";
    But I can't make a difference between the result:
    "PPM wurde geboren am 05.03.2006"
    and
    "PPM wurde geboren am 2006"
    The same thing appears for the other dates. There should be a difference between a Year-Value and a complete date.
    Who can help me to adjust this in the "ahnentafel.xml"?

     
    • Gerry Kroll

      Gerry Kroll - 2006-03-05

      What you're asking for is not possible with the current design.

      There is no function that answers the question, "how precise is this date?".  To be really correct in German and many other languages, you need to create a different sentence depending on:
      - precise date
      - date that has the month and year
      - date that has the year
      - date that is approximate
      - date that is a range
      - date that is estimated
      - date that is calculated

      You also need to be concerned about word order.  What is acceptable (not necessarily correct) in German might be totally unacceptable in Hungarian.

      The nature of PhpGedView is such that it tries to accommodate as many languages as possible through common programming and entries in the various language files.  Unfortunately, at times this is not enough.  When that happens, it's best to program something that is specific to the requirements of the language in question.

       

Log in to post a comment.