Support multiple languages in Refinery CMS with i18n Translations

Occasionally, you may find that you need to have multiple languages available on a website. The good news is, it's a cake walk in Refinery.

Add the gem to your Gemfile

It should be there by default, but just double check in case.

gem 'refinerycms-i18n'

Run the generator

rails g refinerycms_i18n

Change the language settings

In Refinery's settings find I18n Translation Frontend Locales (Refinery) and add the ISO country name.

--- 
- :en
- :ru
- :de

That's it! Visit the Pages tab and you should see flags indicating the page language in the tree.

Screen Shot 2011 12 09 At 10.18.15 Am

Edit a page and you'll see the available languages at the top. Simply select one to add content for that language.

Screen Shot 2011 12 09 At 10.18.30 Am