Format localization does not work
cercxtrova opened this issue · 2 comments
cercxtrova commented
Hi,
In many countries, the symbol must be placed after the amount, for example, €10 is written as 10 € in France. However, format does not take this into account.
In my configuration, I have
config.locale_backend = :i18n
And this is my locale file:
fr:
number:
currency:
format:
format: '%n %u'
However, it doesn't work for the sign position:
I18n.with_locale(:fr) do
Money.new(9999).format
end
=> "€99,99"
I18n.with_locale(:en) do
Money.new(9999).format
end
=> "€99.99"
I see this topic has been discussed for many years here. Is there anything new or has this project been postponed?
StepanenkoArtem commented
I have another question - is this library still maintained by anyone at all? There has been almost no activity lately :(
semmons99 commented
it is. we just seek PRs as we are not paid to maintain this. please bring this into a PR to discuss.