This kind of number formatting will need to be factored out into an i18n compliant number formatting module. The Germans don't prefer"," to separate 1000s but prefer "." instead.