Mattias Gaertner wrote:
> On Fri, 02 Sep 2005 08:25:00 +0200
> Bogus__aw Brandys <[EMAIL PROTECTED]> wrote:
>
>
>>Hi,
>>
>>I'm testing multiplatfor MessageBox replacement and MessageDlg seems
>>good, but there is one problem: all buttons are in English while
>>ordinary MessageBox (Windows) have it transated into my OS language
>>(Polish).How to get MessageDlg (or other multiplatform Message) working
>>with system regional settings ?
>
>
> You are right. That's missing.
> The LCL contains translations for many languages, but they are not used
> automatically. You have translate the resourcestrings by yourself. See
> lcl/lclstrconsts.pas.
> For example:
> In your main FormCreate you could initialize the lcl values:
> rsMbYes:='Ja';
>
>
> Mattias
I think that all I need is to compile lcl.pl.po into lcl.pl.mo file and
include into program (?) directory (anyway that way it works in other
GUI system - wxWidgets) . Any tutorial for this ?
Regards
Boguslaw Brandys
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives