Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

remvee/dutchify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= 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

About

Dutchify your Rails app Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages