Hey CM630,
Maybe you misunderstood me. The decimal and thousands separator should be settable somehow. Taken from the OS might not always be okay. For example in some languages the thousands seprator might be a punctuation sign (comma, apostrophy, etc.), but it is unacceptable by the SI system.
From my experience, if your system is well configured, any Free Pascal application, be it
CLI or
GUI, will pick up the correct format settings.
What you have to understand is that Localisation via
.po files will
NOT change the formatting settings!!!
The
.po file system and the formatting settings are 2 very separate things !!!
You may not agree to what was chosen by the people that setup the format settings for each
OS.
But those are the
official choices.
Now, when it comes to
fp-humanize, it will pick up the
OS formatting settings for the language that is installed.
So, if it's on the English spectrum we have periods for decimals and commas for thousands separator.
If it's Portuguese, or any other Latin based language, and possibly most European languages, then you have comma for decimals and periods for thousands separator.
What you may not agree on is the way that dates are formatted. My system is
en_GB and I
HATE the default short date format!!!
But that's something I can only bicker about... It's been decided by someone else and it's been approved.
Hope I'm making sense here...
Cheers,
Gus