Fine-grained control over wxLocale
Lukasz Michalski
lm at zork.pl
Wed Apr 9 08:16:05 PDT 2008
Andreas pisze:
> =
> =
> The problem is, that when using the german locale, all wx-Functions
> use the decimal comma. I want to use the point, because I want the
> strings to be compatible to common computer algebra systems. German
> students are used to the decimal point anyway, all scientific
> calculators use it.
> =
Simplest way to change decimal point is to change it in OS globally
using regional settings in MSW and LC_* in unix. I use polish version of
systems, where separator is comma too and always change it to point
because I am used to it. This way I have decimal point in excel and all
other applications.
I think that German students will do it in similar way so I would not
force it in your application GUI. Forcing it can also cause problems
with copy-paste numbers between applications and data import (i.e. from
csv file).
I would recommend to stick with OS settings and let user to adjust them
as sh/he like.
Regards,
Lukasz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080409/76=
690f8e/signature.pgp
More information about the wx-users
mailing list