This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Dutchify your Rails app Plugin
License
remvee/dutchify
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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) # => "€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