Fine-grained control over wxLocale

Andreas support at raumgeometrie.de
Thu Apr 10 14:15:29 PDT 2008



>
> I would recommend to stick with OS settings and let user to adjust them
> as sh/he like.
>
> Regards,
> Lukasz

Thank you all for the additional input.

The thing is, that I want my strings to be compatible to those of
wxMaxima, which is the CAS I recommend my students to use.

This uses the decimal point. As I wanted to be compatible to maxima, I
introduced expressions like v=Vector(1,2,3), so I used the comma to
separate entries, which is common practice for all CAS.

So if I would like to honour the german (or other) locales, I would
have to change that, too.

The file-format readings are problems I ran into before, too. I used
to simply call the english locale before that and then change back.

I am now very happy that I can use the decimal point, even if it is
not the correct locale. Being a math teacher I really do know that
german students are used to the decimal point, because all calculators
use it. The very popular geometry program GeoGebra uses it.

What I simply wanted to know, if besides showing the "wrong" number
format this change might have unwanted side-effects. It doesn´t seem
so, so I´m happy.

Regards,

Andreas


More information about the wx-users mailing list