Multilingual reports

Hi, I am writing a multilingual application. This is one exe file with seperate language files.
I know that FastReport has been translated to many different languages, but as far as I know, I can only compile it with one language at the time.
So is there any way to add more languages?

I mean, for example, user from England previews report and see english captions ("Close" on close button; "Export" on export buttons etc).
User from Germant previews report and see german captions ("Abschlissen" on close button; "Exporten" [img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> on export buttons etc). I know how to translate content of the report. But the most important thing is to change for example Fast Report's preview window[/img]

Comments

  • gpigpi
    edited 5:03PM
    make one .frc file that contains all resources.
    this file can be loaded from your application by this code:
    uses frxRes;
    frxResources.LoadFromFile('english.frc');
  • edited 5:03PM
    gpi wrote: »
    make one .frc file that contains all resources.
    this file can be loaded from your application by this code:
    uses frxRes;
    frxResources.LoadFromFile('english.frc');

    Can you give me more information about how to create frc file? I tried frcc.exe, but it creates pas file from xml.
  • edited 5:03PM
    austingrd wrote: »

    Do we need to copy this from somewhere or is this a fresh file?

    I'm renewing the question
  • edited 5:03PM
    A little bit late but for the benefit of others looking for this info: :-)
    Juhas wrote: »
    Can you give me more information about how to create frc file? I tried frcc.exe, but it creates pas file from xml.
    You have to do it like in the mkall.bat files: Call <!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->frcc.exe -all<!--fontc--></span><!--/fontc-->.

Leave a Comment