This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
dutchify /
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) # => "€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








