Pag. 79 - Culture
Soh Dubom
2 posts
|
Hi. Any Rails app has its culture set to EN-us, right? So :precision => 8, :scale => 2 means numbers like -999,999.99 to 999,999.99 which is very clear. But suppose you have to develop an app in another culture, eg PT-br (portuguese-brazilian) then your numbers will have dots replaced by commas and versa-vice, like: -999.999,99 to 999.999,99 The doubts I have is: 1. Setting Rails to understand another culture, like pt-br :-) |
Sam Ruby
197 posts
|
The number_to_concurrency helper has a number of options, including Currently in rails edge, and intended for Rails 2.2, is increased I18n support . These changes are being discussed on the rails-i18n Google Group. |
Mikhail V. S...
19 posts
|
Sam, will the questions of i18n be covered in the 3rd edition? |
3 posts, 3 voices
