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

Localization

edited January 2011 in General
Hi,
I use RB 10 with Delphi7.
Is there a way to display Greek captions on buttons, labels etc in the
preview form ?

Thanks in advance
Manos Aggelakis

Comments

  • edited January 2011
    Hi Manos,

    ReportBuilder does not natively provide a Greek translation for the
    component, however it is possible to create a custom language translation of
    your own that does this. Versions of RB earlier than 12 allow for a single
    custom language translation to be added. For version 12, we added the
    extensible language architecture allowing the developer to add multiple
    custom languages to the product.

    Take a look at the documentation located in the \RBuilder\Languages\...
    directory and the following article for more information.

    http://www.digital-metaphors.com/rbWiki/General/International_Support


    Regards,

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

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2011
    Thanks Nico
  • edited January 2011
    Thanks Nico,
    I did some translation, followed the readme instrunctions, set the
    Report.Language property to lgCustom and yes it worked.
    Unfortunately, it seems that if a report has subreports the subreport
    language does not follow the main report's language and the preview form
    remains in English.
    Am I missing something ?

    Regards
    Manos

  • edited January 2011
    Hi Manos,

    Which exact version of ReportBuilder are you using? I suggest updating your
    version to the latest release of RB 10 and testing with that (10.09).
    Contact info@digital-metaphors.com with your serial number for upgrade
    instructions.

    Moving forward hope you will be upgrading to RB 12, which includes many
    powerful new features. Here is a link to What's New for RB 12.

    http://www.digital-metaphors.com/rbWiki/General/What's_New/RB_12


    Regards,

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

    "Manos Aggelakis" wrote in message news:4d2c5fcf@mail....

    Thanks Nico,
    I did some translation, followed the readme instrunctions, set the
    Report.Language property to lgCustom and yes it worked.
    Unfortunately, it seems that if a report has subreports the subreport
    language does not follow the main report's language and the preview form
    remains in English.
    Am I missing something ?

    Regards
    Manos

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2011
    Hi Nico,
    I already have the latest release of RB10.
    Anyway, this is how things are:
    In delphi code I create a TppReport and then set it's Language property to
    lgCustom.
    If the report has no subreports then everything is ok, but if subreports do
    exist then the preview form ignores the above setting.
    A solution, I found, to this, is to set again the Language property to
    lgCustom, but this time from within RB designer.
    This however has the disadvantage of having to go into every individual
    report (of some hundreds) to set the Language.
    So, I wonder if and how the above solution can be accomplished within delphi
    code.

    Regards
    Manos



  • edited January 2011
    Hi Manos,

    Are you loading templates by chance? If so, you can use template events to
    change the Language property after the report has been loaded in code
    removing the need to alter all your reports. The OnLoadEnd event would be
    best.

    http://www.digital-metaphors.com/rbWiki/Design/Templates/Using_Template_Events



    Regards,

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

    "Manos Aggelakis" wrote in message news:4d2d7280@mail....

    Hi Nico,
    I already have the latest release of RB10.
    Anyway, this is how things are:
    In delphi code I create a TppReport and then set it's Language property to
    lgCustom.
    If the report has no subreports then everything is ok, but if subreports do
    exist then the preview form ignores the above setting.
    A solution, I found, to this, is to set again the Language property to
    lgCustom, but this time from within RB designer.
    This however has the disadvantage of having to go into every individual
    report (of some hundreds) to set the Language.
    So, I wonder if and how the above solution can be accomplished within delphi
    code.

    Regards
    Manos



    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2011
    Thanks again Nico,

    This seems to work (so far at least)

This discussion has been closed.