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

change language at runtime

edited August 2002 in General
it want change the languauge at runtime but when i write :

ppreport1.language := lgFrench or lgSpanish

delphi say " indent unknow"

if I search in reportbuilder directory the word "lgfrench" or "lgspanish", i
don't found it.

if i modify the language property in delphi 6 to spanish they works
correctly.


thinks

Comments

  • edited August 2002
    You can change the language property at runtime. You need to supply the
    resource files to the client so that RB can use them to provide the
    translations. Please see the languages folder in your RBuilder installation
    directory for information on language support in RB.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited August 2002
    thinks for you answer,

    what should I write in my project to change the language ?

    on the same computer I have a spanish and a french "boy" that use the
    programm

    can you say me : if I change the language property the programm run in the
    good language

    do you have a sample ? it's very nice


    merci


  • edited August 2002
    All you need to do is set the Report.Language property at runtime. You have
    to install the resource files (they are really dlls) to the client machine.
    Place them in the Windows\System directory on the client machine. See the
    RBuilder.hlp file on the Language property of the Report.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.