# L10n of numbers (i.e. decimal point)

**URL:** <https://www.ruby-forum.com/t/l10n-of-numbers-i-e-decimal-point/90162>\
**Category:** Rails I18n\
**Created:** [March 26, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/l10n-of-numbers-i-e-decimal-point/90162 "2007-03-26T15:41:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isak\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@Isak\_H](https://www.ruby-forum.com/u/Isak_H)\
**Post date:** [March 26, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/l10n-of-numbers-i-e-decimal-point/90162/1 "2007-03-26T15:41:07Z")

</div>

We need localized number format support in our application, in the  
very least being able to parse the native decimal point for numeric  
(Float and BigDecimal) fields.

I’ve been spending some time looking at various plugins that do  
something with number L10n  
[http://wiki.rubyonrails.com/rails/pages/InternationalizationComparison](http://wiki.rubyonrails.com/rails/pages/InternationalizationComparison),  
but as far as I can tell most won’t do form IO.

Some probably can, i.e. Globalize, but I can’t make heads & tails of the  
source.

We already use gettext for translation, so a plugin which just does  
the number work would be ideal.

I am prepared to roll my own, but would need a little help getting  
started in that case.

“Look at the globalize source” isn’t specific enough - I’d need  
something along the lines of: “for input, hook/override methods … of  
modules/classes … , for output override the ror helpers”, or  
whatever…

Thanks in advance,  
Isak
