rails-i18n icon indicating copy to clipboard operation
rails-i18n copied to clipboard

[BUG] - hu.yml Locale Overrides Rails Default Number Formatting Behavior

Open chahmedejaz opened this issue 6 months ago • 0 comments

  • 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 is true 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

chahmedejaz avatar Aug 09 '24 00:08 chahmedejaz