Hello , everyone, I think that it will be easier: 1) in a file parsed by the beancount parser , we have always the same "locale". Meaning everywhere with "." As decimal separator , nothing as thousand separator and the currency and currency after ( and not before) 2) that the foreign locale should be managed par the specific importer and that export file with the common format whatever the initial format is.
Like this, a same beancount file could be used everywhere. Currently, if I have some USD expenses and some EUR expenses , I could choose to have two file or one file. It doesn't matter. Regards Le mar. 30 juin 2020 à 22:23, Daniele Nicolodi <[email protected]> a écrit : > On 28/06/2020 22:17, Daniele Nicolodi wrote: > > Hello, > > > > I have been working on the Beancount input file parser and I found that > > it does not correctly support digit grouping in monetary values in the > > hi_IN locale, despite trying to do so. > > > > Please see issue https://github.com/beancount/beancount/issues/490 > > > > I haven't see any bug report regarding this, but I don't know if this is > > because no Beancount user uses the hi_IN locale, if it is because there > > is no expectation for this uncommon numercial format to be accepted, if > > it is because it is not often used in practice (I don't think so because > > I can find examples of it in recent Indian newspaper articles). > > > > Properly supporting the hi_IN monetary formatting is some extra work, > > but it may be worth doing it if users would benefit. > > Another question came to my mind: are stock shares supposed to be > formatted as monetary or regular numerical values? > > For most locales these are the same, but for some there is a difference, > for example accordingly to the locale definition in hi_IN locale the > number one million is formatted as "10,00,000" if it is a monetary > value, but as "100,000" if it is just a number. > > Thank you. > > Cheers, > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/887529f3-39e0-5b30-e3c8-d12740325896%40grinta.net > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CALUWbLdqrUr6kBQHXbZPQY03TnCBo%2B%3D%2BvTZZAXPHvHCv4XTDuQ%40mail.gmail.com.
