On Fri, Mar 20, 2009 at 4:28 PM, Bart <bartjun...@gmail.com> wrote: > > Personally I would like to see the formatsettings being localised by > default (by SysUtils), since on Windows it is (Delphi compatibility) > and I'd expect it ot be the same on all platforms. > For this reason a "bulky read external" alternative might be useful if > we do not want SysUtils be dependent on libc.
Exactly. It is currently very annoying that my Windows apps have correct locale settings and the exact same application under Linux doesn't. To resolve this, I had to build a config screen into my application where the user can specify correct formatting for various things. > In that case I'd opt for parsing the text-based versions, since the > compiled ones are libc dependent (their format changes). Seeing that correct locale information is totally missing on anything but Windows, I don't see why we can't enable "correct" locale information on systems we can support via parsing text files for now. And incrementally add support for other platforms like FreeBSD etc as we figure out what to do - without linking to libc. My alternative is to build locale information into fpGUI's translation files. But that would only solve my problems (any fpGUI based apps) and not anybody else's. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal