Localization FastReport With The project

StarkStark Syria
edited 4:29PM in FastReport .NET
Hi , Have a good day ....

My Project (My Exe File ) Show Preview Control with an Arabic Localization when I run it on My Machine ....

but when I Run My Project ( My Exe File ) on Another Machine it restore English Localization .....

( I copy the Localization Arabic file to my Exe Dir , But no Luck ) ....


How I can Solve This ..... ?



Kind regards , and thank you very much for your time ...






Comments

  • StarkStark Syria
    edited June 2009
    It's Solved , Don't Bother your self .....

    I am sorry , I didn't search the forum before I post ...

    I used
    FastReport.Utils.Res.LoadLocale("Arabic.frl");
    
  • edited 4:29PM
    Stark wrote: »
    It's Solved , Don't Bother your self .....

    I am sorry , I didn't search the forum before I post ...

    I used
    FastReport.Utils.Res.LoadLocale("Arabic.frl");
    

    where put this code?
    in C# code?
    in FastReport Script Code?

    where?

    please description with details
  • StarkStark Syria
    edited 4:29PM
    hi ,

    you can use it in C# code , after loading your report and before showing it : for example :

    Private void ShowTest ()
    {
     FastReport.Report rpt = new  FastReport.Report();
                rpt.Load(@"c:\\myrpt.frx");
                FastReport.Utils.Res.LoadLocale("Arabic.frl");
               rpt.Design();
    }
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.