Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 39f6d04c79

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
blog-after
blog-before
README.md

README.md

RailsCasts Episode #338: Globalize3

http://railscasts.com/episodes/338-globalize3

Requires Ruby 1.9.2 or higher.

Commands used in this episode

rails g migration create_article_translations
rake db:migrate
rails c

Commands used in rails console

I18n.locale
Article.first.name
I18n.locale = :wk
Article.first.update_attribute(:name, "Ahhyya")
I18n.locale = :en
Something went wrong with that request. Please try again.