Default language
Hi,
How I can use Brazilian-portuguese as default language (lgDefault) ?
Currently I'm setting ppReport.DefaultLanguage to 'lgPortugueseBrazil' and
using the respectives language DLLs (*.ptb) but this sucks. There are
another, automatic way ?
RB 7.02, D6.0 RTL 3.
Fabio Lindner
How I can use Brazilian-portuguese as default language (lgDefault) ?
Currently I'm setting ppReport.DefaultLanguage to 'lgPortugueseBrazil' and
using the respectives language DLLs (*.ptb) but this sucks. There are
another, automatic way ?
RB 7.02, D6.0 RTL 3.
Fabio Lindner
This discussion has been closed.
Comments
Note that all this information is located in the
\RBuilder\Languages\ReadMe.doc file.
Changing the Default Language
You can change the default language used by ReportBuilder by copying the
appropriate language files from the RBuilder\Languages directory to the
RBuilder\Lib and Windows\System directories respectively. For the DLL files
make sure you change the extension to .dft. The following copy commands
issued at the MS-DOS prompt (from within the RBuilder\Languages\sve
directory) will change the default language to Swedish:
copy rbPrint.res c:\progra~1\borland\delphi5\ rbuild~1\lib
copy rbIDE.res c:\progra~1\borland\delphi5\ rbuild~1\lib
copy rbDADE.res c:\progra~1\borland\delphi5\ rbuild~1\lib
copy rbRAP.res c:\progra~1\borland\delphi5\ rbuild~1\lib
copy rbPrint.sve c:\windows\system\rbPrint.dft
copy rbIDE.sve c:\windows\system\rbIDE.dft
copy rbDADE.sve c:\windows\system\rbDADE.dft
copy rbRAP.sve c:\windows\system\rbRAP.dft
Note: If you are using Windows NT you will need to copy the 'dft' files to
WinNT\System32.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
files
I know that, I already did it and it works only when I run my app with Win2k
or WinXP.
I can't make it work with Win98 using the doc.
Check-list:
1. Compile language dlls. [ok]
2. Rename *.ptb to *.dft. [ok]
3. Copy them to c:\window\system. [ok]
4. Run preview with RB* packages. [failed - default to english]
5. Run preview without any packages. [ok] <==== note this !
I'm trying to understand what's wrong.
Any other ideas ?
TIA
---
Fabio Lindner
Running ReportBuilder with or without packages should not make a difference
which language is set. The only reason the preview would go back to the
default would be that it cannot find the correct files needed to make the
translation. Make sure all needed files are located in the correct place
(ie. \Windows\System\... and \RBuilder\Lib\...). Also, it is possible to
set the default language to something other than english during the
installation process. This will replace the default language resource files
in the \Lib\.. directory with the resource files of a different language.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com