Hi,
when displaying numbers in foreign languages, sometimes the decimal point must be shown as "," (comma), e.g. in Germany or the Netherlands.
Some time ago we figured out how to do this with xataface, converting the numbers with field__pullValue and field__pushValue for the forms and - additionally - with field__toString for displaying them elsewhere.
This now becomes rather tiresome, since a new project has dozens of number fields, so the functions for the conversions are just filling up the delegate class file with zillions of lines of redundant code.
Is there any way to handle this more automatically, e.g. is there some kind of standard xataface field method like "convert float field to HTML" and "convert HTML to float field", so that we can just create 2 or 3 functions and are done? I know this has been done with the "date" and "time" information, but I could not yet find the place where to put the code for l10n of decimal numbers.
Bernd