Units documentation
rptranslator.pas
Description
This unit implements the localization routines and components of the runtime
environment, the main component TRpTranslator supports reading and writting
files that stores widestring, the engine usually try to open reportmanres.xx
resource string files, where xx is the locale identifier (es for Spain for example)
Types
| Name |
Description |
| TRpStringInfo |
Record containing information about position and size of a string inside
a another large string |
Components and classes
| Name |
Base class |
Description |
| TRpTranslator |
TComponent |
Installable component to localize strings, it opens the resource file
based on the selected user locale (adding the locale extension to filename) |
Functions
| Declaration |
Description |
| function AddLocaleSufix(afilename:string):string; |
Adds the user locale sufix to the filename provided |