README.markdown in humanize-1.4.0 vs README.markdown in humanize-1.5.0
- old
+ new
@@ -25,11 +25,11 @@
## Configuration
```ruby
Humanize.configure do |config|
- config.default_locale = :en # [:en, :fr, :tr], default: :en
+ config.default_locale = :en # [:en, :fr, :tr, :de], default: :en
config.decimals_as = :digits # [:digits, :number], default: :digits
end
```
Default values can be overriden:
@@ -48,10 +48,16 @@
0.42.humanize(decimals_as: :number) # => "zero point fourty-two"
```
## I18n
-Currently supported locales: `:en`,`:fr` and `:tr`
+Currently supported locales:
+
+* English: `:en`
+* French: `:fr`,
+* Turkish: `:tr`
+* German: `:de`
+* Indonesian: `:id`
## Benchmarks
### Late 2008 Macbook Pro - Ruby 1.8.7p286