Internationalization

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Internationalization

Previous pageReturn to chapter overviewNext page

Providing support for different languages is an important issue in today's software development.  ReportPro addresses this need by placing all displayable text strings in a separate DLL.  The text strings used by the RpReport, PtrDevice and RpPrinter classes are completely customizable.

 

ReportPro's installation contains the code used to produce the ENGLISH language libraries.  By translating the character strings in the string table, you can create your own custom language library.

 

ReportPro 16-Bit Internationalization

 

All libraries of the 16-Bit version of RP2 utilize the RP2ENG16.DLL language translation library.  RP2ENG16.AEF contains the code used to produce the ENGLISH language DLL.

 

Use the following steps to create your own language DLL:

 

       Import RP2ENG16.AEF into your CA-VO 1 repository.
       Change the name of the RP2ENG16 application and DLL so you will not overwrite the existing DLL.
       The character strings are located in three string table entries in the application:
       ENGLISH - contains strings used by the runtime libraries.
       ENGLISHEXE - contains strings used by the stand alone and linkable designers.
       ENGLISHMENU - contains menu strings used by the stand alone and linkable designers.

Translate the character strings as required but do not change the string DEFINES.

       Compile the new language DLL and generate the VO-type DLL file.
       Follow the instructions below in "Setting the Active Language DLL" to tell ReportPro about your new language DLL.

 

ReportPro 32-Bit Internationalization

 

All libraries of the 32-Bit version of RP2 utilize the RP2ENG32 language library. RP2ENG32.AEF contains the code used to produce the 32-bit ENGLISH language library.

 

Use the following steps to create your own language DLL:

 

       Import RP2ENG32.AEF into your CA-VO 2 repository.
       Change the name of the RP2ENG32 application and DLL so you will not overwrite the existing DLL.
       The character strings are located in three string table entries in the application:
       ENGLISH - contains strings used by the runtime libraries.
       ENGLISHEXE - contains strings used by the stand alone and linkable designers.
       ENGLISHMENU - contains menu strings used by the stand alone and linkable designers.

Translate the character strings as required but do not change the string DEFINES.

       Compile the new language DLL and generate the DLL file.
       Follow the instructions below in "Setting the Active Language DLL" to tell ReportPro about your new translation DLL.

 

Setting the Active Language DLL

 

The SetRpLangDLL() function allows you to specify which language DLL ReportPro uses.