Number & currency localization with Dojo
In 1.5, we tried to use Dojo's dijit/form/NumberTextBox and dijit/form/CurrencyTextBox. However, these require "unformatted" numbers with dot (".") as a decimal separator. LedgerSMB generates numbers formatted according to the user's preference (one of "1,000.00", "1'000.00", "1.000,00" and some other variations). All of these conflict with the input Dojo requires.
We reverted to using plain "text input" boxes, because Dojo's localization is fundamentally incompatible with number formatting as implemented in LedgerSMB: in LedgerSMB, a number of different formats are selectable. In Dojo, number formats are being derived from the locale a user might have selected.
In order to fix this problem, it seems the solution is to switch the way LedgerSMB works by offering the user the opportunity to select a locale instead of a number format.
Something similar applies to date formatting, although there, I could "convince" Dojo to apply different formatting than the locale default.