Dutchify your Rails app Plugin
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
MIT-LICENSE
README
Rakefile
init.rb

README

= Dutchify
Dutchify rails app by replacing americanisms with nederlanderigheden.

= Example
Model:
  class Bicycle < ActiveRecord::Base
    dutch_names "fiets".with_plural("fietsen"),
        :color => "kleur".with_plural("kleuren"),
        :brand => "merk".with_plural("merken")
  end

Scaffold it:
  class BicycleController < ApplicationController
    scaffold :bicycle
  end

In your view:
  Time.now.to_s                       # => "do 31 aug 2006, 22:13"
  42.ordinalize                       # => "42ste"
  "ik wil ijs".titleize               # => "Ik Wil IJs"
  time_ago_in_words(Time.now + 3141)  # => "ongeveer 1 uur"
  number_to_currency(3999.99)         # => "&euro;3.999,99"

== See also
http://blog.remvee.net/2006/08/28/dutchify_plugin

== Author
R.W. van 't Veer

== Copyright
Copyright (c) 2006, 2007, 2008 R.W. van 't Veer