Only translate the TppSystemVariable
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
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
This discussion has been closed.
Comments
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