public
Description: Dutchify your Rails app Plugin
Homepage:
Clone URL: git://github.com/remvee/dutchify.git
remvee (author)
Sat Sep 06 06:22:43 -0700 2008
commit  8b9caf830adb177cc43cc85a5d6f2df870fdb00d
tree    e796ed12c3dd960bf35927c1a3455576e6cb76d8
parent  bc8f255ba3e7e3826181c2953404ff1cf93e2d7b
name age message
file MIT-LICENSE Wed Sep 03 13:07:36 -0700 2008 remove unused files and update copyright [remvee]
file README Wed Sep 03 13:07:36 -0700 2008 remove unused files and update copyright [remvee]
file Rakefile Wed Nov 29 02:43:38 -0800 2006 maak standalone test mogelijk git-svn-id: http... [remco]
file init.rb Tue Nov 28 01:04:53 -0800 2006 maak werkend op rails 1.2 git-svn-id: http://s... [remco]
directory lib/ Sat Sep 06 06:22:43 -0700 2008 fix for Rails 2.1.1 [remvee]
directory test/ Sat Sep 06 06:22:43 -0700 2008 fix for Rails 2.1.1 [remvee]
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