On Mon, 6 Nov 2006 11:59:44 +0100
Sebastian Kraft <[EMAIL PROTECTED]> wrote:
> Am Montag, 6. November 2006 09:40 schrieb Mattias Gaertner:
> > On Sun, 5 Nov 2006 14:10:45 +0100
> >
> > Sebastian Kraft <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > since I changed my program to use resourcestrings in order to
> > > create various translations all dialog buttons and exception
> > > messages are blank.
> > >
> > > What is wrong here?
> >
> > Maybe you set all FCL+LCL resource strings to empty strings?
> > How do you set the resourcestrings?
> >
> in the unit file of main form:
> resourcestring
> rsQuit = 'Quit';
> rsFile = 'File';
> rsOpenFile = 'Open File...';
> [..]
>
> I assign these strings to the corresponding captions with the
> OnCreate event.
>
>
> and in .proj file:
> TranslateResourceStrings(path);
This function translates all resourcestrings, so your translation file
must contain all translations, including the LCL and FCL translations.
The LCL has a translations unit to translate only units. Or you can
write your own function.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives