patrick feillant ha scritto:
Hi,
I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi 1 juin 2007, 23:14:41 (UTC+0200)
That's ok.
In Lazarus, the variables ShortDateFormat, LongDateFormat, ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the sysutils initialization section, from the system parameters by the InitInternational routine ..
But i always have the date in the english format, Sunday ...
I don't resolve this problem.
Somebody can help me to try the solution.
Thanks.
I never tried with Lazarus, but with Delphi/Kylix I had the same problem. It turned out that Delphi looks to the environment variable LC_ALL. If it's not set, it will default to English style dates, instead of looking at the LANG variable.
Try:
>export LC_ALL=fr_FR
>startlazarus

If it works, the problem is the same (Delphi compatibility). If it doesn't, well, tant pis.
Cheers

Giuliano

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to