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

Run-time languages

edited November 2009 in End User
I've been looking at the languages part of RB and just want to be clear
if I can use it or not. We need to be able to change languages at
run-time, so I can't just build the exe for the end-users with a
specific language. Is there a way to do this that I'm missing?

Thanks
Jeremy

Comments

  • edited November 2009
    Hi Jeremy,

    Languages can be changed at runtime by simply assigning the Report.Language
    property. Each individual language .dll that you choose to support will
    need to be deployed on your user's machine. These .dll files are installed
    with ReportBuilder if you select to install language support. See the
    documentation located in \RBuilder\Languages\... and the developer's guide
    for more information on deployment and use.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    That's great, thanks. I would prefer not to have to ship additional
    files, but it works OK.

    Incidentally, it would be nice to be able to add the languages, or
    additional languages without having to remove and reinstall RB.

    Jeremy
  • edited November 2009
    Hi Jeremy,

    Thanks for the suggestion. We will look into allowing specific language
    install without a complete re-install for a later release.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2010
    Hi Nico,

    is there a way to change the language, but separately? I.e. only for the
    report elemts like system variables ets., but not for the designer
    interface?

    The application itself is not multilingual (GUI-wise), but it shall be
    possible to print and export report remplates in different languages. So the
    users are usually speaking one language, but their customers might speak
    another one. By changing the language the user can't work with the designer
    anymore, since everything is changed to the new language.

    Can it be done somehow?

    Regards,
    Mark


  • edited September 2010
    Hi Mark,

    There is no automatic way to use multiple automatic translations in the same
    report/designer. One option would be to create a report object loop that
    checks each report component and translates it according to the desired
    language manually before being generated.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2010
    Hi Nico,
    that's what we do with Labels etc., but aren't system variables anything
    different? There is no fix text. One can just define the type of the
    variable (page numbers) and then it's being "replaced" by ReportBuilder with
    "Page 1 of 2" or so.

    Maybe you could consider a new feature / a change to be able to set the
    language for things which are being printed, but not for the designer
    interface and vice versa.

    Regards,
    Mark

  • edited September 2010
    Hi Mark,

    Thanks for the feedback, we will consider it for a later release. Currently
    to work around the issue, you could easily show all information displayed by
    a System Variable using a regular TppVariable and a minimal amount of code.
    This way you would have complete control over what is displayed.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.