README.markdown in humanize-1.2.3 vs README.markdown in humanize-1.2.4
- old
+ new
@@ -25,19 +25,20 @@
## Configuration
```ruby
Humanize.configure do |config|
- config.default_locale = :en # [:en, :fr], default: :en
+ config.default_locale = :en # [:en, :fr, :tr], default: :en
config.decimals_as = :digits # [:digits, :number], default: :digits
end
```
Default values can be overriden:
```ruby
42.humanize(locale: :fr) # => "quarante-deux"
+1666.humanize(locale: :tr) # => "bin altı yüz altmış altı"
```
## Decimals
You can choose how you want to display decimals:
@@ -47,10 +48,10 @@
0.42.humanize(decimals_as: :number) # => "zero point fourty-two"
```
## I18n
-Currently supported locales: `:en` and `:fr`
+Currently supported locales: `:en`,`:fr` and `:tr`
## Benchmarks
### Late 2008 Macbook Pro - Ruby 1.8.7p286