Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Datadictionary for each supported language also in RAP

edited August 2011 in End User
Hello,

how is it possible to use the data dictionary to rename all physical table
and field names, but for each supported language with a different fieldname.
Example: physical fieldname "Street", if the report is running in Italian
environment it should be "via" and in German "Strasse". And also in RAP-Code
Datasource['Strasse'].Value or Datasource['via'] should always point to the
physical Datasource['Street'].

best regards
chris

Comments

  • edited August 2011
    Hi Chris,

    A single DataDictionary is not designed to handle multiple
    "translations" of a single field. You would need to create a separate
    DataDictionary for each language you plan to support and
    disconnect/reconnect them as needed.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    ok, but what's about the scripts inside RAP. When I use an Italian name of a
    field and I connect the data dictionary with English and so the name
    changes, what's then? is that situation handled?
    chris


  • edited August 2011
    Yes this is handled. You can either use the field name or the field
    alias when accessing field values in RAP. Same with Delphi.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    When the RAP script contains a reference to an Italian name, and the
    data dictionary changes to English, the Italian reference won't work
    anymore. The RAP scripts are saved in plain text, and are not updated
    with the data dictionary.

    Best regards,
    Geerten Doornenbal

    Op 26-8-2011 15:13, Nico Cizik (Digital Metaphors) schreef:
This discussion has been closed.