allow comma entry for e.g. german users.

E.g. on a german keyboard layout we have a comma on the numpad. For faster data entry, allow comma and replace it instantly with a dot. Support replacement on pasted data.