Browse files

Adding I18n section in README

  • Loading branch information...
Simon COURTOIS committed Mar 15, 2012
1 parent 580b9d8 commit b5f6c1db733dfa37c66254ef106172a912a40e94
Showing with 11 additions and 0 deletions.
  1. +11 −0
@@ -3,6 +3,8 @@
Ariane is a flexible breadcrumb system for Rails. And it's fully compatible with
the [Twitter Bootstrap]( !
+It works perfectly with Rails 3 and allows to use I18n.
## Installation
Add the following line to your `Gemfile`:
@@ -183,6 +185,15 @@ You'll obtain the following HTML:
You can create a complete renderer, simply take a look at
`lib/ariane/render/html.rb` for a complete example implementation.
+### I18n
+Since Ariane is used in before filters or in the views, it supports
+I18n out of the box.
+``` ruby
+ariane.add t('home'), root_path
## Boring legal stuff
Copyright (c) 2012, Simon COURTOIS

0 comments on commit b5f6c1d

Please sign in to comment.