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

Using changed language files

edited December 2015 in General
Hi,

i had to add some translation into the german files.
I could successfully build them and now I am trying to use them after
distributing our software for testpurposes.
On Using the designer, rbIde.deu ist used
But showing the printersetupdialog for exporting a file, rbPrint.deu is
no used.

I found no code where the files are epxlicitly set?

Cheers Carsten

Comments

  • edited December 2015
    Hi Carsten,

    Were are you placing your language .dll files? How do you know that the
    rbPrint.deu file is not being used?

    If you have the Report.LangaugeID set to German(Germany), then the .deu
    language files will be used if they are placed in the application
    directory or using the Windows resource search path.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2015
    In 5.56 we did not use .dll-files, we distributed .dft,.deu.en.cst

    So i place my .deu-files within our application directory.
    No .deu-file ==> Englisch language
    .deu-file==> rbIDE.deu is used, rbPrint.deu is not used

    Does languadeId hast to be set manually or is it autodetected

    Cheers Carsten

  • edited December 2015
    On my compiling system where RBuilder is installed, German is detected
    as languageID.

    On a system i distributed my files to, languageId is 'default'.

    Obviously detecting the language fails!

    Carsten Eider drückte sich sehr genau aus :
  • edited December 2015
    Hi Carsten,


    1. The language dll files are the .deu, .en, etc. files. We simply
    rename the extension.

    2. You need to change the LanguageID property of the Report to "German
    (Germany)" or the .deu lanaguage dll file will not be loaded. The .deu
    extension is registered as the German language file when RB loads.

    3. If you are using the Default LanguageID, then ReportBuilder gets its
    translation from resource files compiled with the .exe, not the dlls.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2015
    Copy *.deu *.dft works fine!
    Nico Cizik (Digital Metaphors) benutzte seine Tastatur und gab ein :
This discussion has been closed.