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

Only translate the TppSystemVariable

edited October 2014 in General
Hello,

Is it possible to translate only the page and not the dialog (ModalPreview,
Printsetup... )

I have two reports in different language. So I want that the
TppSystemVariable for nummering pages (vtPageSetDesc) is translated.
If I set the .LanguageID to French (France), then not only the
TppSystemVariable is translated but also the dialogs.
Is there something else to do only the translation of the report and not the
dialogs of report builder

Comments

  • edited October 2014
    HI Christophe,

    There is no way to translate the report only.

    One solution might be to set the language to French, generate the report to
    an archive file, then set language to English and use TppArchiveReader to
    preview/print the archive file. Or instead of archive file, generate to PDF
    and use that to preview/print.

    The other solution would be to not System Variable and implement your own
    custom description for the page set. You can do this with a Label and
    implement the Label.OnPrint

    myLabel.Caption := 'Page ' + IntoStr(myReport.AbsolutePageNo) + ' of ' +
    IntoStr(myReport.AbsolutePageCount);


    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.