[Lazarus] formatdatetime ( ) returns only english sting ?
Michael Van Canneyt
michael at freepascal.org
Thu Mar 13 12:05:05 CET 2008
> On Thu, 13 Mar 2008, Paul Ishenin wrote:
> > Michael Van Canneyt пишет:
> > 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.
> Maybe lazarus can help to define this settings? Lazarus can ask them
> from qt, gtk and set apropriate sysutils variables.
I'll send you the unit, this way you can see what you can do with it.
But careful, it uses the GNU libc unit.
More information about the Lazarus