Ouch. If you are writing user interface for something that doesn't need to be "correct" (legally, or whatever), I find it best to accept whatever decimal separator (what you want, or change by locale, or both, whatever), and never use or allow thousands separators. Bonus points if you document it somewhere on the interface.
If you really, really, really need a thousands separator, use spaces.
If you really, really, really need a thousands separator, use spaces.