adds i18n support to routes and application controller; default_locale is set to :en

This commit is contained in:
Manuel Wiedenmann 2013-05-31 18:42:28 +02:00
parent c42c00b5f1
commit c2c1961bd0
4 changed files with 239 additions and 184 deletions

View file

@ -31,7 +31,7 @@ module Foodsoft
# Internationalization.
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
config.i18n.default_locale = :de
config.i18n.default_locale = :en
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"