diff --git a/.gitignore b/.gitignore index e69de29..5fff1d9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +pkg diff --git a/README.rdoc b/README.rdoc index 7308f58..1d8f2ed 100644 --- a/README.rdoc +++ b/README.rdoc @@ -17,12 +17,16 @@ Quick example - if you follow the key convention of structuring your locale bund Then when writing the BlogPostsController.show action you can just use t('title') to fetch the string (equivalent to I18n.translate('blog_posts.show.title')). Similarly, in the show.erb template you can get use t('byline', :author => "Mike"). This extends to models and mailers as well. As they say, "Look at all the things I'm not doing!" -== Plugin Installation +== Installation To install this plugin into your Rails app (2.2 or 2.3+): ./script/plugin install git://github.com/graysky/translator.git +To install as a gem add the following to config/environment.rb: + + config.gem “graysky-translator”, :source => ‘http://gems.github.com’ + == RDocs {The RDocs are online}[http://graysky.github.com/translator/rdoc/index.html] or can be generated via rake rdoc in the translator plugin directory.