[Lazarus] formatdatetime ( ) returns only english sting ?

Michael Van Canneyt michael at freepascal.org
Thu Mar 13 09:48:04 CET 2008



On Wed, 12 Mar 2008, fedorax wrote:

> Hello,
> 
> My configuration ( Linux fedora 8 KDE is in french, lazarus and FPC ( latest svn
> ) also also ) bur when i use:
> 
> formatdatetime ('dddddd', now ) i got the result in english, not in french.
> 
> What's wrong ?

sysutils does not automatically import the locale settings. I have a unit
which does this, by using some C library functionality. If you want, I can
send this unit. All  you need to do is add it to the uses clause of your
program.

Michael.



More information about the Lazarus mailing list