2014-06-27 11:45:34 +02:00
|
|
|
# remove all currency translations, so that we can set the default language and
|
|
|
|
# have it shown in all other languages too
|
2023-01-06 16:12:41 +01:00
|
|
|
I18n.available_locales.each do |locale|
|
|
|
|
unless locale == I18n.default_locale
|
2023-05-12 13:01:12 +02:00
|
|
|
I18n.backend.store_translations(locale,
|
|
|
|
number: { currency: { format: { unit: nil } } })
|
2014-06-27 11:45:34 +02:00
|
|
|
end
|
|
|
|
end
|