rails-i18n
rails-i18n copied to clipboard
[BUG] - hu.yml Locale Overrides Rails Default Number Formatting Behavior
- As per the Rails NumberHelper.number_to_rounded docs, it has the default option value of
significant: false
- However, in the
hu.yml
,number.format.significant
istrue
which overrides this default behavior of Rails. Ref: https://github.com/rails/rails/blob/fc734f28e65ef8829a1a939ee6702c1f349a1d5a/activesupport/lib/active_support/number_helper/number_converter.rb#L139-L163 - We need to update this to
false
such that it does not override the Rails default behavior for number formatting. Thanks