https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20352
--- Comment #26 from Martin Renvoize <martin.renvo...@ptfs-europe.com> --- So, Locale::Currency::Format contains an internal hard coded, but easy to read hasref of arrays for a small subset of currencies (without taking regions into account). CLDR::Number::Format::Currency utilises the CLDR international Unicode consortium data which take into account language, region and currency.. but it's no longer maintained and is based on an older version of the CLDR data.. there's another option I wasn't aware of until yesterday, Locale::CLDR which appears to be sort of maintained in so much as it's using a more up to date export of the CLDR data.. but it's also a significantly larger module with all sorts of data that's not directly relevant to us. I'm tempted to come full circle and go back to using our DB to store just a relevant set of combinations.. perhaps populating it initially with a subset of the CLDR data which takes into account region + currency. Right now, I'm working on the maths side over at https://gitlab.com/mrenvoize/Koha/-/merge_requests/2, though I'm about to rip out Data::Money as a dependency.. in fixing that module I decided it would be easier to just replicate the bits we need within our codebase rather than pulling it in as a dependency and trying to disable the bit we don't want (the formatting) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/